enum colors {BLACK,BLUE,GREEN}
main()
{
printf("%d..%d..%d",BLACK,BLUE,GREEN);
return(1);
}
Answers were Sorted based on User's Feedback
Answer / susie
Answer :
0..1..2
Explanation:
enum assigns numbers starting from 0, if not
explicitly defined.
| Is This Answer Correct ? | 5 Yes | 0 No |
main() { char *a = "Hello "; char *b = "World"; clrscr(); printf("%s", strcpy(a,b)); } a. “Hello” b. “Hello World” c. “HelloWorld” d. None of the above
4 Answers Corporate Society, HCL,
4. Main() { Int i=3,j=2,c=0,m; m=i&&j||c&I; printf(“%d%d%d%d”,I,j,c,m); }
What are segment and offset addresses?
Write a program that reads a dynamic array of 40 integers and displays only even integers
What is the output for the following program main() { int arr2D[3][3]; printf("%d\n", ((arr2D==* arr2D)&&(* arr2D == arr2D[0])) ); }
How to access command-line arguments?
how to check whether a linked list is circular.
find A^B using Recursive function
Write a program to check whether the number is prime and also check if it there i n fibonacci series, then return true otherwise return false
what is the code of the output of print the 10 fibonacci number series
To reverse an entire text file into another text file.... get d file names in cmd line
What is the hidden bug with the following statement? assert(val++ != 0);