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 |
Q-1: Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college.
What is the difference between typedef struct and struct?
why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above
Give me basis knowledge of c , c++...
a simple program in c language
Explain what is a stream?
Why data types in all programming languages have some range? Why ritche have disigned first time likethat?Why not a single data type can support all other types?
Are pointers really faster than arrays?
What is a MAC Address?
What is the condition that is applied with ?: Operator?
to find the program of matrix multiplication using arrays
what is the difference between c and c++?