Welcome to your C Language-I DATE:October 10, 2024 Name of Student 1.int Data type require _____________________________ number of bytes required to store data 2 4 8 12 2.int x=234;y=sizeof(x);What is the value of y 2 4 234 8 3.x=2printf("%d",x++)What is output. 3 2 4 1 4.which of the following is an exist control loop for while do while None of Above 5.int x=10,s=0;while(i<10){s=s+i;}printf("%d",s);What is output 0 10 55 11 6.which of them is not a correct variable name? int X2 Student Full_address 7.What is Data Type What type of value a variable can store What type of structure a variable require Both Above None of Above 8.Which of them is/are the Entry control loop while For Both Above Do 9.Which of them is not a type of operator Unary Ternary Binary While 10.Which of them is not a binary Operator Arithmetic Logical Relational Sizeof 11.x=23y=(x>20):10:12;What is value of y 23 10 12 None of Above 12.int X=2switch(X){case 1"printf("ONE");case 2:printf("TWO");break;detault:printf("Default");break;}What is output ONE TWO Default None of Above 13.int X=1;switch(X){case 1"printf("ONE");case 2:printf("TWO");break;detault:printf("Default");break;} ONE TWO Default ONE TWO 14.Function call by ____________________________ By Value By Reference Both Above None of Above 15.The Varaible that value we are passing is know as _____________________ Actual Argument Formal Argument Passing Argument Return Argument 16.The Variable that capture the value of the actural Argument is known as ___________________ Actual Argument Formal Argument Passing Argument Return Argument 17.Declaration of fuction is called ________________________ Declaration Function Function Prototype Both Above None of Above 18.Which is incorrect for the constant It is declare by using const key word. It must be initialize. It is any data type. Value change during the program execution. 19.What is outputint i=11,s=0;do{s=s+i;} while(i<10);printf("%d",s); 0 11 55 420 20.Which is true for Structure It can store the heterogeneous type data in a variable it can declare by using Struct Both Above None of Above 21.Sturcture declartion is called _____________ Template Declaration Defining All of Above 22.Which of them is not a function type? Calling Function Called Function Both Above None of Above 23.int fact();is a Function prototype that means Function taking an integer Value Function return an integer value Both Above None of Above 24.void Fact() means Fact() function return void value Fact() doesn't return any value Both Above None of Above 25.By default a fucntion can return an ___________ type value Float Integer As we specifies Function doesn't return any value by default
Add a Comment