351 351
251 351
351 251
What will be the output of the following program?
#include <stdio.h>
struct st1
{
int a;
struct st1 *ptr1 ;
};
main( )
{
struct st1 w1,w2;
w1.a = 251 ;
w2.a = 351 ;
w1.ptr1 = &w2 ;
w2.ptr1 = &w1 ;
printf ( "%d %d", w1.ptr1 –> a, w2.ptr1 –> a ) ;
}
Correct Answer:
351 251
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Embedded C MCQ Questions