July 7, 2021 in C and CPP
Do you think C language support ‘pointer to function’? Explain it by any example?
c) Do you think C language support ‘pointer to function’? Explain it by any example?
July 7, 2021 in C and CPP
c) Do you think C language support ‘pointer to function’? Explain it by any example?
July 7, 2021 in C and CPP
b) Define void data type and write any three use of it.
July 7, 2021 in C and CPP
a) What will be output of the operations below?
main()
{ int a=10,b=25;
a=b++ + a++;
b= ++b + ++a;
printf(“%d %d \n”,a,b); }
July 7, 2021 in C and CPP
c) What is dangling pointer in C? What is wild pointer in C? Give example.
July 7, 2021 in C and CPP
b) What are merits and demerits of array in C?
July 7, 2021 in C and CPP
a) Write a C program to find size of structure without using sizeof operator.
July 7, 2021 in C and CPP
c) Write a C program to find the square root of a given quadratic equation.
July 7, 2021 in C and CPP
b) Write a C program to print given number of terms of a Fibonacci series.
July 7, 2021 in C and CPP
a) Write a C program to read a line and print it reverse using recursive function.
July 7, 2021 in C and CPP
A. Bit B. header file C. fseekf
D. call by value E. static F. exit
G. index H. stdio.h I. break
J. Ctype.h K. unstructured L. getc
M. pointer
4.1 An array element is accessed using an ________ number.
4.2 NULL is macro constant which has been defined in the header file ________.
4.3 Function ________ repositions the file position pointer to the beginning of the file.
4.4 A library function ________ causes an exit from the program in which it occurs.
4.5 The ________ statement causes an exit from the innermost loop or switch.
4.6 ________ data member can only be used in static functions.
4.7 ________ cannot be legitimately passed to a function.
4.8 The smallest data item a computer can process is called a(n) ________.
4.9 A function call mechanism that passes arguments to a function by passing a copy of the
values of the arguments is ________.
4.10 Name the header file to be included for the use of built in function isalnum() is ________.