main()
{
enum _tag{ left=10, right, front=100, back};
printf("%d, %d, %d, %d", left, right, front, back);
}

Answer Posted / manisha

10,11,100,101

Is This Answer Correct ?    26 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how do you determine the length of a string value that was stored in a variable?

885


Write a program to generate the Fibinocci Series

850


The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.

1812


How can you call a function, given its name as a string?

889


Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.

2848






Explain the process of converting a Tree into a Binary Tree.

2371


What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.

2000


How can I insert or delete a line (or record) in the middle of a file?

766


How can I trap or ignore keyboard interrupts like control-c?

798


What does struct node * mean?

781


What is break statement?

828


Explain how do you sort filenames in a directory?

784


Is there a built-in function in C that can be used for sorting data?

976


Why do we use namespace feature?

792


What does *p++ do?

777