Correct Answer: fscanf()
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Programming With C Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Programming With C MCQ Questions
What does the following function do? int fn(unsigned int x) { int count = 0; for(; x!=0; x&=(x-1)) count++; return count; }
What will be printed on the standard output as a result of the following code snippet? void func() { static int i = 1; int j = 1; i++; j++; printf('%d %d ',i,j); } void main() { func(); func(); func(); }
Select the correct statement about arrays.
Which standard function is used to close a file?
Which function allocates memory and initializes elements to 0?
What would be printed on the standard output as a result of the following code snippet? main() { void addup (int b); addup(b); return 0; } int b = 5; void addup (int b) { static int v1; v1 = v1+b; printf('%d ', v1); }
What would be printed on the standard output as a result of the following code snippet? #define max(a, b) ((a) > (b)?(a):(b)) main() { int a=4; float b=4.5; printf('%.2f\n',max(a, b)); }
If a two dimensional array arr[4][10](an array with 4 rows and 10 columns) is to be passed in a function, which of the following would be the valid parameters in the function definition?
Is the following statement correct? If not, why not? If yes, what is the size of the array? int array[][3] = { {1,2}, {2,3}, {3,4,2} };
Which statements will result in a compilation error?