What is the output of the following C program?
Is the following statement True or False?
In C variable type cannot be changed once it is declared.
What is the output of the following C program?
#include <stdio.h>
int main()
{
unsigned int a = 10;
a = ~a;
printf("%d\n", a);
}
What is the output of this C code?
void main()
{
int x;
}
here x is?
The C library function exit()
causes an exit from:
Which of the following are automatically added to every C++ class if we do not write our own?
How can you access the global variable when there is a local variable with the same name?
What will be the output of the following C++ code?
#include <stdio.h>
#include <ctype.h>
int main ()
{
int i = 0;
char str[] = "C";
while (str[i])
{
if (isalpha(str[i]))
printf ("alphabetic");
else
printf ("not alphabetic");
i++;
}
return 0;
}
What will be the output of the following C++ code?