Constants C Questions And Answers
Here you can find Constants C Questions and Answers.
Why Constants C Questions and Answers Required?
In this Constants C Questions and Answers section you can learn and practice Constants C Questions and Answers to improve your skills in order to face technical inerview conducted by Banks. By Practicing
these interview questions, you can easily crack any Bank Exams interview.
Where can I get Constants C Questions and Answers?
AllIndiaExams provides you lots Constants C Questions and Answers with proper explanation. Fully solved examples with detailed answer description. All students, freshers can download Constants C
Questions and Answers as PDF files and eBooks.
How to solve these Constants C Questions and Answers?
You no need to worry, we have given lots of Constants C Questions and Answers and also we have provided lots of FAQ's to quickly answer the questions in the Bank Exams interview.
Constants C Questions and Answers
1. What is the output of this C code?
int main()
{
enum {ORANGE = 12, MANGO, BANANA = 11, APPLE};
printf("APPLE = %d\n", APPLE);
}
Constants C Questions and Answers
2. What is the output of this C code?
int main()
{
printf("C programming %s", "Class by\n%s AllIndiaExams", "SUPER");
}
Constants C Questions and Answers
3. For the following code snippet:
char *str = “AllIndiaExams.in\0? “training classesâ€;
The character pointer str holds reference to string:
Constants C Questions and Answers
4. What is the output of this C code?
#define a 20
int main()
{
const int a = 50;
printf("a = %d\n", a);
}
Constants C Questions and Answers
5. What is the output of this C code?
int main()
{
int var = 010;
printf("%d", var);
}
Constants C Questions and Answers
6. enum types are processed by?
Constants C Questions and Answers
7. What is the output of this C code?
int main()
{
printf("AllIndiaExams\r\nclass\n");
return 0;
}
Constants C Questions and Answers
8. What is the output of this C code?
int main()
{
const int a;
a = 32;
printf("a is %d", a);
return 0;
}
Constants C Questions and Answers
9. Which is false?
Constants C Questions and Answers
10. Whats is the output of this C code?
void main()
{
int const k = 11;
k++;
printf("k is %d", k);
}