| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is the differance between pass by reference and pass
by value. | Infosys | 4 |
| whether itis a structured language? | Microsoft | 1 |
| What's the difference between calloc() and malloc()? | | 3 |
| C,c++, Java is all are structural oriented or procedure
oriented language..? | | 3 |
| #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 |
| pgm in c to reverse string by word using array(god is love
becomes love is god)
(no additional array can used,space is only delimiter
between words ) | Persistent | 1 |
| what is the diff b/w static and non static variables in C.
Give some examples plz. | Wipro | 2 |
| Which of the following is not an infinite loop ?
a.while(1){
....
}
b.for(;;){
...
}
c.x=0;
do{
/*x unaltered within theloop*/
...
}while(x==0);
d.# define TRUE 0
...
while(TRUE){
....
}
| TCS | 4 |
| YBJBU6 | | 1 |
| CAN WE DEFINE ANY FUNCTION WITHIN A FUNCTION. | | 6 |
| Give a fast way to multiply a number by 7 | Microsoft | 8 |
| what is the hexidecimal number of 4100? | Google | 14 |
| without using arithmatic operator solve which number is
greater?????????? | | 1 |
| Reverse a string word by word?? | | 6 |
| write a c programs to do multiplication of two numbers with
out using arithmatic operator ?????????? | TCS | 4 |
| why division operator not work in case of float constant? | | 1 |
| Why does not use getgh(); and <conio.h> in c language. | Elofic | 2 |
| what is real time system?what is the differance between hard
and soft real time systems | | 2 |
| 1.write a program to merge the arrays
2.write efficient code for extracting unique elements from a
sorted list of array? | Qualcomm | 2 |
| Write a program to interchange two variables without using
the third variable? | Accenture | 11 |
| |
| For more C Interview Questions Click Here |