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
What is graph in c?
What is conio h in c?
In C language what is a 'dangling pointer'?
Why c language?
What is array in c with example?
i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me
Can a function argument have default value?
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
Explain what is operator promotion?
How can I read in an object file and jump to locations in it?
Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?
Why c is called top down?
Explain what is meant by high-order and low-order bytes?
What are pointers? Why are they used?
write a program to display all prime numbers