| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| main()
{
char *p1="Name";
char *p2;
p2=(char *)malloc(20);
while(*p2++=*p1++);
printf("%s\n",p2);
}
what is the output?
| Ramco | 4 |
| difference between i++* and *++i | IBM | 3 |
| related to rdbms query . | | 1 |
| let's take a code
struct FAQ
{
int a;
char b;
float c;
double d;
int a[10];
}*temp;
now explain me how the memory will be allocated for the
structure FAQ and what address will be in the structure
pointer (temp).................... | | 7 |
| program to find a smallest number in an array | Microsoft | 5 |
| Sir i want e-notes of C languge of BAlaguruswami book i.e
scanned or pdf file of balaguruswamy book on c
language.PLEASE SEND ME on my mail id ajit_kolhe@rediff.com
| | 4 |
| Write a program to interchange two variables without using
the third variable? | Accenture | 11 |
| main()
{
int i,j,A;
for(A=-1;A<=1;A++)
prinf("%d\t",!!A);
} | | 5 |
| main()
{
int i = 1;
int num[] = {1,2,3,4};
num[i] = i++;
printf("%d", num[i]);
}
what will be the output?
} | NDS | 15 |
| what is pointer | TCS | 1 |
| to find the program of matrix multiplication using arrays | | 2 |
| what is the use of call back function in c?tell me with
example | | 1 |
| What's wrong with the call "fopen ("c:\newdir\file.dat", "r")"? | | 1 |
| If "AaBbCc" is passed to the char
char x(*a)
{
a[0]?x(a+1):1;
printf("%c",a[0]);
return 1;
}
what will be the output?
| Hughes | 5 |
| Total of how many functions are available in c? | | 2 |
| Write a C program to print 1 2 3 ... 100 without using
loops? | | 5 |
| what is Structural oriented language?
give some example of this language.....? | | 1 |
| How to implement variable argument functions ? | HP | 1 |
| how many argument we can pas in in a function | CTS | 20 |
| write a program that explain #define and # undef directive | | 1 |
| |
| For more C Interview Questions Click Here |