Home / Programming MCQs / C Programming MCQs / Question
R
Q. What is the output of C program?
int main() { struct book { int pages; char name[10]; }a; a.pages=10; strcpy(a.name,"Cbasics"); printf("%s=%d", a.name,a.pages); return 0; }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
With which value should a pointer be initialized?
Size of a GCC or Visual Studio C Compiler is.?
In expression i = g() + f(), first function called depends on __________
Variable names beginning with underscore is not encouraged. Why?
The minimum number of temporary variables needed to swap the contents of two variables is
What will be the output of the following code snippet?
How can you write a[i][j][k][l] in equivalent pointer expression?
Which of the following is not true about structs in C?
Discusssion
Login to discuss.