Correct Answer: int n=5, x; x= ++n++;
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
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} };
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?
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)); }
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? #include main() { unsigned char a=255; a = a+1; printf('%d',a); return 0; }
Which standard function is used to close a file?
Select the correct statement about arrays.
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(); }
What does the following function do? int fn(unsigned int x) { int count = 0; for(; x!=0; x&=(x-1)) count++; return count; }
Which function is used to extract formatted input from a file?