| Other C Interview Questions |
| |
| Question |
Asked @ |
Answers |
| |
| Define function pointers? |
| 1 |
| find largest element in array w/o using sorting techniques. |
Zycus-Infotech | 3 |
| #include<stdio.h>
main()
{
char *p1;
char *p2;
p1=(char *) malloc(25);
p2=(char *) malloc(25);
strcpy(p1,"Ramco");
strcpy(p2,"Systems");
strcat(p1,p2);
printf("%s",p1);
}
Tell me the output? |
Ramco | 6 |
| Write a C program to fill a rectangle using window scrolling |
| 1 |
| what is structuer? |
Wipro | 4 |
| why we use "include" word before calling the header file. is there any special name for that include?????? |
Tcs | 1 |
| write a program that eliminates the value of mathematical
constant e by using the formula
e=1+1/1!+1/2!+1/3!+ |
Reliance | 1 |
| A C E G H
+B D F A I
------------
E F G H D |
Infosys | 1 |
| when will be evaluated as true/
if(x==x==x)
a) x=1;
b) x=0;
c) x=-1;
d) none |
HCL | 7 |
| Find string palindrome 10marks
|
Honeywell | 5 |
| What is the result
main()
{
char c=-64;
int i=-32
unsigned int u =-16;
if(c>i){
printf("pass1,");
if(c<u)
printf("pass2");
else
printf("Fail2");}
else
printf("Fail1);
if(i<u)
printf("pass2");
else
printf("Fail2")
}
a)Pass1,Pass2
b)Pass1,Fail2
c)Fail1,Pass2
d)Fail1,Fail2
e)none
|
IBM | 9 |
| how i m write c program 1.check prime number 2.prime number
series |
| 1 |
| |
| For more C Interview Questions Click Here |