C/C /C Multiple Choice Questions C Functions Set 1 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 :-Guest9711284

Question 1: What is the output of this C code? int main() { void foo(), f(); f(); } void foo() { printf("2 "); } void f() { printf("1 "); foo(); }

Compile time error as foo is local to main

1 2

2 1

Compile time error due to declaration of functions inside main

Total MCQS Questions are 58 in this paper C Multiple Choice Questions C Functions Set 1
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,C Multiple Choice Questions C Functions Set 1,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