char* f()
return "hello:";
void main()
{char *str=f();
}
Answer / parthiban
str will be a pointer to "hello:"
so on printing str will output hello:
| Is This Answer Correct ? | 3 Yes | 2 No |
What are the different types of errors in C and when they occur?
void main() { int i=7; printf("N= %*d",i,i); }
Answering Yes or No in C++...using only stdio.h and conio.h..........help me please...? here's must be the output of the program: Screen A Exam No. items Score 1 20 20 2 35 35 Another Entry? [Y] or [N] : Screen B: Record No. Student's Name: 1 Fernando Torres 2 Chuck Norris Note: if you press Y, the program must repeat the procedure in screen A, then if N, the program must proceed to the screen B....Please Help me out............
loop1: { x=i<n?(i++):0; printf("%d",i); exit(x); continue; } Error- misplaced continue. Doubt-1.will the exit(x) be executed for all values of x 2.will this statement go out of the program.
what is syntax error?
void main() { int i=1; printf("%d%d%d",i,++i,i++); } Cau u say the output....?
#include<stdio.h> void main() { int i=1; printf("%d%d%d",i++,++i,i); }
Given an int variable n that has already been declared and initialized to a positive value, and another int variable j that has already been declared, use a do...while loop to print a single line consisting of n asterisks. Thus if n contains 5, five asterisks will be printed. Use no variables other than n and j .
what is macro in c? Difference between single linked list & double linked list what is fifo & lifo? what is stack & queue?
A sample program using data structure? what is file handling?
what is the large sustained error signal that eventually cause the controller output to drive to its limit
What is the code for following o/p * * * * * * * * * * * * * * * *