C programming Question Bank
What is escape sequence ?
What does static variable means?
Define String with one inbuilt string with e.x.
What are enumerations.
What is Tokens ?
Define printf() .
Give the syntax of malloc().
What is C character set ?
What is exit function ?
What are applications of C ?
Define identifier.
Explain continue statement.
Define for loop.
What is C character set?
Define Associativity.
Define if-else statement?
Define printf()
What do you mean by static variable?
Define pointer in C.
Give the syntax of malloc()
Write an algorithm and draw flow chart to find minimum of two numbers.
Write a program to print all Armstrong numbers between 1to 500
What is dynamic memory allocation ? Why it is required ?
What is purpose of while statement ? Explain the execution of while structure ?
Write a c program to add matrices .
What is function ? Explain types of the function.
Explain different storage classes in C ?
Write a program to find sum of first n number ?
Write a C program to print the following pattern using nested loop .
1
0 1
1 0 1
0 1 0 1
1 0 1 0 1
The nested if-else-if statement is always eqivalent to switch statement in C .
Comment with proper justification
What is Structure ? Explain with e.x.
Explain call by value & call by reference ?
Explain switch statement in details ?
Trace the output
i) int main ()
{
Float a[]={12,4,2,3,5,6,7,8};
print f(“%d”,size of (a) /size of(a[0]));
getch();
}
ii) int main ()
{
int i=5;
float b;
printf(“%d”,size of(++a+b);
printf(“%d”,a);
return (0);
}
Write a short note on
1) Indivetion operator 2) strcat function
What is generic pointer in C ?
Differentiate between entry control and exit control loop.
Define structure. Give suitable example.
What is a 1-D Array? How to represent 1 D array in memory.
Write an algorithm and draw flow chart to find minimum of two numbers.
Write a program to find the sum of digits of a number using function.
Define operator. List and explain any four categories of operators in C.
What is string? Explain any four functions of string.
Explain call by value and call by reference with example.
Write a program to find the given number is armstrong or not.
Write a C program to add two matrices.
What is function? Explain types of function.
What is storage class? Explain types of storage classes.
Explain switch statement with example.
Write a program to print Fibonacci series up to n numbers.
Define operator. List and explain any four categories of operators in C.
What is string? Explain any four functions of string.
Explain call by value and call by reference with example.
Write a program to find the given number is armstrong or not.
What is function? Explain types of function.
What is storage class? Explain types of storage classes.
Explain switch statement with example.