C Programming Multiple Choice Questions And Answers
Are you preparing for the next job interviews? If yes, trust me this post will help you also we'll suggest you check out a big collection for Programming Full Forms that may help you in your interview:
List of Programming Full Forms
- A variable must be declared and defined at the same time
- A single variable cannot be defined with two different types in the same scope
- A variable defined once can be defined again with different scope
- All of the above
#include
int main()
{
int x = 10, *y, **z;
y = &x;
z = &y;
printf("%d %d %d", *y, **z, *(*z));
return 0;
}
- 100xaa54f10
- Compiler Error
- 10 10 10
- Runtime Error
void main()
{
char a = 'a';
int x = (a % 10)++;
printf("%d\n", x);
}
- Grabage Value
- Compiler Error
- Output: 10
- Output: 0