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 there sort function in c?
Differentiate between new and malloc(), delete and free() ?
Write the control statements in C language
What is use of #include in c?
There are 21 people in a room. They have to form groups of 3 people each. How many combinations are possible? Write a C program to print the same.
How will you delete a node in DLL?
How does the assert() function work?
Explain how to reverse singly link list.
find the sum of two matrices and WAP for it.
what is the meaning of 'c' language
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
How to swap 3 numbers without using 4th variable?