f1()
{
f(3);}
f(int t)
{
switch(t);
{
case 2: c=3;
case 3: c=4;
case 4: c=5;
case 5: c=6;
default: c=0;}
value of c?
Answer Posted / ningappa
The above code returns a compiler error:
1.In C functions cannot be made inline.
2.A semi-colon is not expected after switch.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What are the types of type specifiers?
What is void main ()?
What are high level languages like C and FORTRAN also known as?
Combinations of fibanocci prime series
Can an array be an Ivalue?
Can you tell me how to check whether a linked list is circular?
What is the use of in c?
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
What is a good data structure to use for storing lines of text?
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
What is string constants?
Where register variables are stored in c?
Describe the difference between = and == symbols in c programming?
What is merge sort in c?
Why is struct padding needed?