| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Write a program to print this triangle:
*
**
*
****
*
******
*
********
*
**********
Don't use printf statements;use two nested loops instead.
you will have to use braces around the body of the outer
loop if it contains multiple statements. | | 2 |
| How can I find out how much memory is available? | Persistent | 1 |
| Reverse the part of the number which is present from
position i to j. Print the new number.
eg:
num=789876
i=2
j=5
778986 | | 1 |
| what is the function of .h in #include<stdio.h> in c ? | IBM | 9 |
| if ENTERED FIVE DIGITS DESIGN A PROGRAM THAT WILL FIND
CORRESPONDING VALUE FROM ASCII TABLE | | 1 |
| find a number whether it is even or odd without using any
control structures and relational operators? | Microsoft | 14 |
| a 'c' program to tell that the set of three coordinates lie
on a same line | Persistent | 1 |
| Print all numbers which has a certain digit in a certain
position
eg:
number=45687
1 number=4
2 number=5
etc | | 2 |
| Concat two string with most overlapped substring has to
remove "abcd"+ "cdef" = "abcdef | | 5 |
| related to rdbms query . | | 1 |
| write a own function for strstr | LG-Soft | 1 |
| Why doesn't the code "a[i] = i++;" work? | | 4 |
| wt is d full form of c | Wipro | 1 |
| what is the use of getch() function in C program..
difference b/w getch() and getche()?? | Wipro | 12 |
| What are the different pointer models in c? | | 3 |
| What is the diffrent between while and do while statement ? | | 5 |
| enum colors {BLACK,BLUE,GREEN}
main()
{
printf("%d..%d..%d",BLACK,BLUE,GREEN);
return(1);
}
| ME | 3 |
| #define d 10+10
main()
{
printf("%d",d*d);
} | | 3 |
| What do you mean by team?? | | 2 |
| Write a program or provide a pseudo code to flip the 2nd bit
of the 32 bit number ! (Phone Screen) | NetApp | 1 |
| |
| For more C Interview Questions Click Here |