Select the correct option to test your answer:
More Computer Questions
Determine Output: #define clrscr() 100 void main() { clrscr(); printf("%d", clrscr()); }
Which of the following is C++ equivalent for scanf()?
What will be the output of the following C code? char str[20]; strcpy(str, "123456"); res = atoi(str); printf("%s %d\n", str, res);
In C, what is a pointer to a constant value (const int*)?
What will be the output of the following C code? #include <stdio.h> const int a = 1, b = 2; int main() { int x = 1; switch (x) { case a: printf("yes "); case b: printf("no\n"); break; } }