| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What's the difference between struct x1 { ... }; and
typedef struct { ... } x2; ?
| | 3 |
| What is the difference between null pointer and void pointer | CTS | 3 |
| what is available in C language but not in C++? | | 1 |
| Hi,
main()
{
}
Is a user defined function or Built in Functionn | Honeywell | 9 |
| hello friends
what do u mean by BUS ERROR
i got this error while i am doing my program in DATA STRUCTURES | Wipro | 2 |
| what is the difference between. system call and library
function? | CDAC | 2 |
| HOW CAN ADD OUR FUNCTION IN LIBRARY. | | 5 |
| c programming of binary addition of two binary numbers
| | 1 |
| wap to print "hello world" without using the main function. | TCS | 16 |
| Write a C program that reads a series of strings and prints
only those ending in "ed" | | 2 |
| Read N characters in to an array . Use functions to do all
problems and pass the address of array to function.
1. Print only the alphabets . If in upper case print in
lower case vice versa. | | 1 |
| #include<stdio.h>
main()
{
char s1[]="Ramco";
char s2[]="Systems";
s1=s2;
printf("%s",s1);
}
what will happen if you executed this code? | Ramco | 4 |
| Which of the following is not a valid declaration for main
()?
1) int main()
2) int main(int argc, char *argv[])
3) They both work
| | 2 |
| Write a program to print all the prime numbers with in the
given range | ABC | 1 |
| consider the following structure:
struct num nam{
int no;
char name[25];
};
struct num nam
n1[]={{12,"Fred"},{15,"Martin"},{8,"Peter"},{11,Nicholas"}};
.....
.....
printf("%d%d",n1[2],no,(*(n1 + 2),no) + 1);
What does the above statement print?
a.8,9
b.9,9
c.8,8
d.8,unpredictable value
| TCS | 3 |
| c program to add and delete an element from circular queue
using array | | 1 |
| #define f(x)
main()
{
printf("\n%d",f(2+2));
} | | 3 |
| what is disadvantage of pointer in C | Tech-Mahindra | 5 |
| main()
{
printf("hello%d",print("QUARK test?"));
}
| | 4 |
| Software Interview Questions | CAT | 1 |
| |
| For more C Interview Questions Click Here |