enum
{
SUNDAY,
MONDAY,
TUESDAY,
}day;
main()
{
day =20;
printf("%d",);
getch();
}
what will be the output of the above program
If u observe the program carefully,you will come to know
ther is syntax error.
enum
{
SUNDAY,
MONDAY,
TUESDAY,
}day;
main()
{
day =20;
printf("%d",);//printf("%d",) error maker
getch();
}
If u put it
printf("%d",day);
then it will print 20 because 20 is the latest value
assigned for day.
| Is This Answer Correct ? | 8 Yes | 0 No |
Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.
Write a program or provide a pseudo code to flip the 2nd bit of the 32 bit number ! (Phone Screen)
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?
what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)
Difference between Function to pointer and pointer to function
How. To pass the entrance test
design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.
print 1-50 with two loop & two print Statement
Difference between macros and inline functions? Can a function be forced as inline?
0 Answers HAL, Honeywell, Zomato,
4.weight conversion: Write a program that will read weight in pounds and convert it into grams.print both the original weight and the converted value.There are 454 grams in a pound.design and carry out a test plan for this program.
what is the structure?
Write a program that can show the multiplication table.