Welcome to your C Language-III DATE:December 4, 2023 Name of Student 1.find outputint x=5;if(x>10);x=100;elsex=200; x=200 x=100 Error Compile but doesn't generate gives any value 2.What is recursion? When a Function Call by itself When function call the other Both Above None of Above 3.Which is not correct for pointer. Pointer contain an address of variable. Datatype of the pointer is same as the data type of variable that address it contain. Execution of the program is slow down. Dynamic variable. 4.sqrt(x) function return the squre root fo the X. True False 5.Can you use the function fprintf() to display the output on the screen? Yes No 6.What is output of the codeint i=1,s=0;while(i<10){s=s+i;}printf("%d",s); 0 10 55 Infinite Loop 7."\n" back Slash operator is use for _________ For New Line For New Column For Next Vertical Tab For Next Horizontal Tab 8.\t is use for _____________. For New Line For Next Vertical Tab Positioning For Next Horizontal Tab Postition None of Above 9.Which of them is not C indentifier. Constant Variable Keyword Loop 10.The short cut key for save and run is __________ and _____________ F1 & F2 F2 & F9 F2 & Ctrl+F2 F2 & Ctrl+F9 11.In C language program the program execution started from main() True False 12.which if the followi ng error dispaly by compiler Syntax Logical Both Above None of Above 13.The ___________ function is use to dispaly out on screen. printf scanf fprintf fscanf 14.The ____________ is the none executable statement. ' // /* */ All of Above 15.if structure variable is pointer then ___________________- operator is use for accessing the data member of the structure Arrow-> Dot(.) Both Above None of Above 16.Which of them is not a bit wise opeator ~ ^ | || 17.int X=123;Means the variable is initialize. State ? True False 18.If an array initlize the less number of element then its size then ? Remaining element are truncated Remaining element is assign to zero Remaining element assign the garbage value None of Above 19.for POW function which header file is use ? math.h cytpe.h stdio.h conio.h 20.struct book{ char title[20];char author[20];int price;} B;what is incorrect in above declartion Structure name is invalid Structure variable is declare in capital Letter if a tag name is used we can not use the variable name in declaration All of Above 21.What will be the following function call ?divide(2,3) calling of a function with two integer variable calling of a function with parameter. calling function divide with two integer parameter None of Above 22.What will be the decleration of the following functiondivide(2,3) void divide(); void divide(int, int); divide(int, int); All of above 23.What will be the defination of the following functiondivide(2,3) void divide(int x, int y ) { } void divide(int , int ) { } divide(int x, int y ) { } void divide() { } 24.Which of the following is athe control string for OCTAL number system. %c %O %Ox %x 25.which of the following is not a backshelesh character. \t \T \v \n
Add a Comment