c c++ interview questions

C & C++ Interview Questions and Answers

(1) What will be output if you will compile and execute the following c code? struct marks { int p:3; int c:3; }; void main(){ struct marks s={2,-6}; printf(ā€œ%d %dā€,s.p,s.c);…

Read more »