What will be the output of the program ? #include struct - TopicsExpress



          

What will be the output of the program ? #include struct course { int courseno; char coursename[25]; }; int main() { struct course c[] = { {102, "Java"}, {103, "PHP"}, {104, "DotNet"} }; printf("%d ", c[1].courseno); printf("%s ", (*(c+2)).coursename); return 0; } A. 103 DotNet B. 102 Java C. 103 PHP D. 104 DotNet
Posted on: Wed, 26 Jun 2013 04:47:53 +0000

Trending Topics



Recently Viewed Topics




© 2015