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
Explain how do you determine the length of a string value that was stored in a variable?
Write a program to generate the Fibinocci Series
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.
How can you call a function, given its name as a string?
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.
Explain the process of converting a Tree into a Binary Tree.
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
How can I insert or delete a line (or record) in the middle of a file?
How can I trap or ignore keyboard interrupts like control-c?
What does struct node * mean?
What is break statement?
Explain how do you sort filenames in a directory?
Is there a built-in function in C that can be used for sorting data?
Why do we use namespace feature?
What does *p++ do?