C Programming Language MCQ Structure in C Language
⚠ Report ✓ Question Verified Copy Link
#include struct point { int x; int y; }; struct notpoint { int x; int y; }; struct point foo(); int main() { struct point p = {1}; struct notpoint p1 = {2, 3}; p1 = foo(); printf("%d\n", p1.x); } struct point foo() { struct point temp = {1, 2}; return temp; }
Learn More MCQ Questions from C Programming Language MCQ Structure in C Language