any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
1100C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
1104any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above
1188a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above
1445printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
1216why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above
1203why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
1149any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
1197what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above
1169in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above
1084we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
1231int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
1389"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
1070why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above
1188
What is typedef example?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)
What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?
What is struct node in c?
What are data types in c language?
What is meant by recursion?
What are structures and unions? State differencves between them.
What is an array in c?
application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above
What is #error and use of it?
What is the difference between text and binary modes?
Can a void pointer point to a function?
Explain the difference between null pointer and void pointer.
Write a program to reverse a given number in c language?
What is the general form of a C program?