C/C /Computer Science MCQs :- multiple choice questions and answers. e.g C/C MCQS,C/C Mock Tests , C/C Practice Papers ,C/C Sample Test,C/C Sample questions

Your Session ID :-Guest7084705

Question 1: What is the output of this C code? void foo(const int *); int main() { const int i = 10; printf("%d ", i); foo(&i); printf("%d", i); } void foo(const int *i) { *i = 20; }

Compile time error

10 20

Undefined value

10

Total MCQS Questions are 70 in this paper Computer Science
Search
Categories
R4R Team
R4R provides C/C Multiple choice questions and answers (C/C MCQs) .The questions on R4R.co.in website is done by expert team! Mock Tests and Practice Papers for prepare yourself.. Mock Tests, Practice Papers,Computer Science ,C/C MCQS,C/C Objetive choice questions and answers,C/C Multiple choice questions and answers,C/C objective, C/C questions , C/C answers,C/C MCQs questions and answers