| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Program to write some contents into a file using file
operations with proper error messages. | | 1 |
| to find the program of matrix multiplication using arrays | | 1 |
| What is an volatile variable? | HP | 6 |
| Difference between fopen() and open()? | Aricent | 1 |
| char S;
char S[6]= " HELLO";
printf("%s ",S[6]);
output of the above program ?
(0, ASCII 0, I,unpredictable)
| Mascot | 3 |
| how to find out the reverse number of a digit if it is
input through the keyboard? | | 1 |
| write a c program to check weather a particluar bit is set
or not? | IBM | 2 |
| print the following using nested for loop.
5 4 3 2 1
1 2 3 4
3 2 1
1 2
1
2 1
1 2 3
4 3 2 1
1 2 3 4 5 | | 4 |
| how to find the kth smallest element in the given list of
array elemnts.
| Silicon | 3 |
| x=2,y=6,z=6
x=y==z;
printf(%d",x)
| HCL | 7 |
|
main()
{
int x=10,y=15;
x=x++;
y=++y;
printf("%d %d\n",x,y);
}
output?? | Ramco | 12 |
| What are advantages and disadvantages of recursive
calling ? | HP | 6 |
| Design a program using an array that lists even numbers and
odd numbers separately from the 12 numbers supplied by a user. | | 4 |
| What is C language Terminator? | TCS | 12 |
| int arr[] = {1,2,3,4}
int *ptr=arr;
*(arr+3) = *++ptr + *ptr++;
Final contents of arr[]
| Hughes | 4 |
| Find string palindrome 10marks
| Honeywell | 3 |
| How can I invoke another program from within a C program? | | 1 |
| WRITE A PROGRAM TO PRINT THE FOLLOWING OUTPUTS USING FOR
LOOPS.
A) * B) *****
*** * *
***** * *
***** | | 2 |
| #ifdef TRUE
int I=0;
#endif
main()
{
int j=0;
printf("%d %d\n",i,j);
}
| ADITI | 2 |
| what is the maximum no. of bytes calloc can allocate | Mphasis | 2 |
| |
| For more C Interview Questions Click Here |