main()
{
struct test
{
char c;
int i;
char m;
} t1;
printf("%d %d\n", sizeof(t1), sizeof(t1.c));
}
Why Modern OS are interrupt driven?Give an example
Write a C function to search a number in the given list of numbers. donot use printf and scanf
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
Is file a keyword in c?
Write a program for the following series: 1*3*5-2*4*6+3*5*7-4*6*8+.................up to nterms
write a program in c language to print your bio-data on the screen by using functions.
6 Answers College School Exams Tests, IBM,
What is union and structure in c?
code for find determinent of amatrix
What do you understand by friend-functions? How are they used?
What is difference between structure and union?
for example user gives input as " 20 or 20.0 or rs 20.0 or 20.00 or rs20 and so .. on " and the output should be stored as " rs.20.00 " in a variable