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 is exceptions?
difference between c/c++ programing language? what is necessesity of c++ when existing c programing language?
Write down the difference between c. Loop and goto statement d. (!0) and (!1) e. (1= =! 1) and (1!=1) f. NULL and !NULL
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 the large sustained error signal that eventually cause the controller output to drive to its limit
A sample program using data structure? what is file handling?
char* f() return "hello:"; void main() {char *str=f(); }
How to create a program that lists countries capitals when country is entered? (Terribly sorry, I'm a complete novist to coding with C, am looking for inspiration and general tips on how to code and create this program.)
Write a C program to enter 10 integer numbers through one variable and count how many of them are even using while loop ?
I'm having trouble with coming up with the correct code. Thank You!! The assignment was to write a program using string functions that accepts a price of an item and displays its coded value. The base of the keys: X C O M P U T E R S 0 1 2 3 4 5 6 7 8 9 Sample I/O Dialogue: Enter Price: 489.50 Coded Value: PRS.UX
UINT i,j; i = j = 0; i = ( i++ > ++j ) ? i++ : i--; explain pls....
what is meant for variable not found?