Which is case driven ?
Which symbol is used to create a pure virtual function?
Which of the declaration is correct?
What is the output of the following C code?
What is the output of the following C code?
main()
{
printf("%d",out);
}
int out = 100;
Which of the following is an incorrect use of the putchar() function?
In the following program, how many times will the loop get iterated?
main()
{
unsigned int x = 100;
while (x >= 0)
{
printf("%u", x);
x--;
}
}
Which of the following statements about destructors is correct?
We require a code to print the integer values from 0 to 9. Identify the error?
1. void main()
2. {
3. int i=0;
4. for(;i<=9;)
5. {
6. i++;
7. printf("%d ",i);
8. }
9. }
What is the output?
#include<stdio.h>
int main()
{
int size=6;
char* s=(char*)malloc(sizeof(char)*size);
*(s+0)='a';
*(s+1)='b';
*(s+2)='e';
*(s+3)='k';
*(s+4)='u';
*(s+5)='s';
*(s+2)='a';
getchar();
return 0;
}