Engineering Online MCQ Number 0627 – online study, assignment and exam

Multiple choice question for engineering Set 1 1. What is the output of this C code? #include <stdio.h> void foo(int*); int main() { int i = 10; foo((&i)++); } void foo(int *p) { printf(”%dn”, *p); } a) 10 b) Some garbage value c) Compile time error d) Segmentation fault/code crash AnswerAnswer: c 2. What is…


This content is for paid premium members only.
You can view complete answer after activation your membership.


Need only one answers. Simply buy single day pass and email. We will send answers for this question.
Login Buy membership