| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| 1,1,5,17,61,217,?,?. | | 3 |
| #ifdef TRUE
int I=0;
#endif
main()
{
int j=0;
printf("%d %d\n",i,j);
}
| ADITI | 2 |
| WAP TO ACCEPT STRING AND COUNT A COMES N TIMES B COMES N
TIMES C COMES N TIMES D COMES N TIMES AND SO ON.........
AT LAST UNTIL Z COMES N TIMES...............
| | 3 |
| #define DCHAR char*
typedef char* TCHAR;
if using these following variables will be declared like
DCHAR ch1, ch2;
TCHAR ch3, ch4;
then what will be types of ch1, ch2, ch3 and ch4?
| NDS | 1 |
| which one is highest Priority in c?
a)=,b)+,c)++,d)== | | 3 |
| void main()
{
char far *farther,*farthest;
printf("%d..%d",sizeof(farther),sizeof(farthest));
}
| ME | 3 |
| 1
232
34543
4567654
can anyone tell me how to slove this c question | | 3 |
| how memory store byte
| Huawei | 3 |
| let's take a code
struct FAQ
{
int a;
char b;
float c;
double d;
int a[10];
}*temp;
now explain me how the memory will be allocated for the
structure FAQ and what address will be in the structure
pointer (temp).................... | | 7 |
| explain about storage of union elements. | Bosch | 2 |
| write an algorithm to get a sentence and reverse it in the
following format:
input : I am here
opuput: Here Am I
note: first letter of every word is capiatlised | | 2 |
| how to print "hai" in c? | | 10 |
| code snippet for creating a pyramids triangle
ex
1
2 2
3 3 3 | | 3 |
| Software Interview Questions | CAT | 1 |
| how to do in place reversal of a linked list(singly or
doubly)? | | 2 |
| how does the for loop work actually..suppose for the
following program how it ll work plz explain to me
for(i=5;i>=0;i--)
prinf(i--); | RMSI | 16 |
| How do I declare an array of N pointers to functions
returning pointers to functions returning pointers
to characters?
| | 1 |
| what is array? | | 6 |
| what is the use of #pragma pack, wer it is used? | Wipro | 1 |
| 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 |
| |
| For more C Interview Questions Click Here |