| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| which of the following go out of the loopo if expn 2
becoming false
a.while(expn 1){...if(expn 2)continue;}
b.while(!expn 1){if(expn 2)continue;...}
c.do{..if(expn 1)continue;..}while(expn 2);
d.while(!expn 2){if(expn 1)continue;..}
| TCS | 2 |
| WHY DO WE USE A TERMINATOR IN C LANGUAGE? | | 2 |
| what is y value of the code if input x=10
y=5;
if (x==10)
else if(x==9)
elae y=8;
a.9
b.8
c.6
d.7
| TCS | 2 |
| the number 138 is called well ordered number because the
three digits in the number (1,3,8) increase from left to right
(1<3<8). the number 365 is not well ordered coz 6 is larger
than 5.
write a program that wull find and display all possible
three digit well ordered numbers.
sample:
123,124,125,126,127,128,129,134
,135,136,137,138,139,145,146,147
148
149,156.......789 | | 3 |
| How can I invoke another program from within a C program? | | 6 |
| whether itis a structured language? | Microsoft | 1 |
| What is the difference b/w main() in C language and main()
in C++. | | 6 |
| Tell us the difference between these two :
#include"stdio.h"
#include<stdio.h>
define in detial. | | 4 |
| is compiler do read the data line by line or not.
?? | LG-Soft | 3 |
| Write a routine that prints out a 2-D array in spiral order! | Lucent | 1 |
| how do u find out the number of 1's in the binary
representation of a decimal number without converting it
into binary(i mean without dividing by 2 and finding out
the remainder)? three lines of c code s there it
seems...can anyone help | | 2 |
| What are advantages and disadvantages of recursive
calling ? | HP | 11 |
| User define function contain thier own address or not. | | 2 |
| What is volatile | | 2 |
| can anyone please tell me wat is backlogs... i was looking
for the job openings where i read this.. eligibility
criteria minimum 70% in degree without backlogs. is that
arrear.. if so is it standing arrear or history of
arrears... please help me... | | 4 |
| dibakar & vekatesh..uttejana here..abt ur reply for in
place reversal of linked list..wats p stands for there? | | 1 |
| 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 |
| There are 3 baskets of fruits with worng lables,one basket
has apple,another basket has orange,another has combination
of apple and orange,what is the least way of interchange
the lables. | Google | 10 |
| 9.how do you write a function that takes a variable number
of arguments? What is the prototype of printf () function?
10.How do you access command-line arguments?
11.what does ‘#include<stdio.h>’ mean?
12.what is the difference between #include<> and #include”…”?
13.what are # pragma staments?
14.what is the most appropriate way to write a
multi-statement macro? | L&T | 4 |
| HOW TO SWAP TWO NOS IN ONE STEP? | Satyam | 12 |
| |
| For more C Interview Questions Click Here |