What is the o/p of the follow pgm?
#include<stdio.h>
main()
{
char char_arr[5]=”ORACL”;
char c=’E’;
prinf(“%s\n”,strcat(char_arr,c));
}
a:oracle
b. oracl
c.e
d.none
Answers were Sorted based on User's Feedback
Answer / sadanand
error in program... strcat is used to concatinate 2 strings.
in above program c is char and not string so compilation error
| Is This Answer Correct ? | 0 Yes | 3 No |
Is stack a keyword in c?
main() { printf(5+"Vidyarthi Computers"); }
how can i get output the following... 5 4 3 2 1 4 3 2 1 3 2 1 2 1 1 and 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 plz plz...
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)
What is Dynamic Initialization.
What is c system32 taskhostw exe?
Explain how can you check to see whether a symbol is defined?
Why is not a pointer null after calling free?
write a program that prints a pascal triangle based on the user input(like how many stages) in an efficient time and optimized code?
What are the modifiers available in c programming language?
Here is a good puzzle: how do you write a program which produces its own source code as output?
Do pointers store the address of value or the actual value of a variable?