| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Write a program that takes three variables(a,b,c) in as
separate parameters and rotates the values stored so that
value a goes to b,b,to c and c to a | | 3 |
| write a program in c language for the multiplication of two
matrices using pointers? | Ignou | 5 |
| How can we see the Expanded source code and compiled code
for our source program in C? | | 1 |
| what are the various memory handling mechanisms in C ? | HP | 3 |
| what is disadvantage of pointer in C | Tech-Mahindra | 5 |
| what is op?
for(c=0;c=1000;c++)
printf("%c",c); | Trigent | 18 |
| how to find turn around time in operating system? | | 1 |
| write a program to compare 2 numbers without using logical
operators? | IBM | 1 |
| #include
main()
{
int i=1,j=2;
switch(i)
{
case 1: printf("GOOD");
break;
case j: printf("BAD");
break;
}
}
| ME | 5 |
| plz answer.. a program that takes a string e.g. "345" and
returns integer 345 | | 3 |
| why r u join this company? give solid resons. | Infosys | 7 |
| Tell us the difference between these two :
#include"stdio.h"
#include<stdio.h>
define in detial. | | 4 |
| What does extern mean in a function declaration? | | 2 |
| What is the difference between constant pointer and pointer
to a constant. Give examples. | TCS | 3 |
| int arr[] = {1,2,3,4}
int *ptr=arr;
*(arr+3) = *++ptr + *ptr++;
Final contents of arr[]
| Hughes | 4 |
| CAN WE DEFINE ANY FUNCTION WITHIN A FUNCTION. | | 6 |
| what is memory leak?
| | 3 |
| Can we access RAM?
How? Whats the range of access?
Similarly What are other hardware we can access? | | 1 |
| What are bit fields? What is their use? | Adobe | 1 |
| write a program to swap bits in a character and return the value
prototype of function
char fun (char a, charb flag c)
where fun returns a char, char a is a the value char b is
the bit to be changed and flag c is the bit value
for eg: x=fun(45,7,0)
since 45 is 0010 0101
and ow x should contain the value 65 (0110 0101) | Bosch | 1 |
| |
| For more C Interview Questions Click Here |