consider the following structure:
struct num nam{
int no;
char name[25];
};
struct num nam
n1[]={{12,"Fred"},{15,"Martin"},{8,"Peter"},{11,Nicholas"}};
.....
.....
printf("%d%d",n1[2],no,(*(n1 + 2),no) + 1);
What does the above statement print?
a.8,9
b.9,9
c.8,8
d.8,unpredictable value
Answer Posted / guest
d
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Explain what is the use of a semicolon (;) at the end of every program statement?
How can you restore a redirected standard stream?
What is wild pointer in c with example?
a value that does not change during program execution a) variabe b) argument c) parameter d) none
How do we print only part of a string in c?
How can I remove the trailing spaces from a string?
How do c compilers work?
What is the size of enum in bytes?
Which header file is used for clrscr?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
Do you know what are the properties of union in c?
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)