| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Why preprocessor should come before source code?
| | 2 |
| what is op?
for(c=0;c=1000;c++)
printf("%c",c); | Trigent | 18 |
| Find string palindrome 10marks
| Honeywell | 5 |
| what is the difference between. system call and library
function? | CDAC | 2 |
| Write code for initializing one dimentional and two
dimentional array in a C Program? | Deshaw | 5 |
| what does the following function print?
func(int i)
{
if(i%2)return 0;
eale return 1;
}
main()
{
int =3;
i=func(i);
i=func(i);
printf("%d",i);}
| TCS | 8 |
| which operator having lowest precedence??
a.)+ b.)++ c.)= d.)%
| | 4 |
| related to rdbms query . | | 1 |
| which types of data structure will i use to convert infix to
post fix??? | IIT | 3 |
| how to make c program without a libary?
e.g.#include<stdio.h> libary is not in c progaram. | | 1 |
| hat is a pointer? | Assurgent | 3 |
| difference between semaphores and mutex? | | 1 |
| Can we include one C program into another C program if yes how? | Infosys | 4 |
| which one is highest Priority in c?
a)=,b)+,c)++,d)== | | 3 |
| Why is conio.h not required when we save a file as .c and
use clrscr() or getch() ? | | 2 |
| difference of two no's with out using - operator | | 6 |
| what is the advantage of software development | | 1 |
|
#include<stdio.h>
int SumElement(int *,int);
void main(void)
{
int x[10];
int i=10;
for(;i;)
{
i--;
*(x+i)=i;
}
printf("%d",SumElement(x,10));
}
int SumElement(int array[],int size)
{
int i=0;
float sum=0;
for(;i<size;i++)
sum+=array[i];
return sum;
}
output? | Ramco | 5 |
| if ENTERED FIVE DIGITS DESIGN A PROGRAM THAT WILL FIND
CORRESPONDING VALUE FROM ASCII TABLE | | 1 |
| How many types of linked lists what are they?
How many types of data structures? | BSNL | 5 |
| |
| For more C Interview Questions Click Here |