| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What are bit fields? What is their use? | Adobe | 1 |
| How to write a program for swapping two strings without
using 3rd variable and without using string functions. | iGate | 5 |
| Main must be written as
a.the first function in the program
b.Second function in the program
c.Last function in the program
d.any where in the program
| TCS | 12 |
| c program to add and delete an element from circular queue
using array | | 1 |
| What is sparse file? | | 1 |
| What is the value of y in the following code?
x=7;y=0;
if(x=6)
y=7;
else
y=1;
| TCS | 10 |
| printf("%d",(printf("Hello")); What it returns?
| TCS | 23 |
| HOW TO ANSWER IF ASKED " WHAT KIND OF A PERSON ARE YOU?" I
NEED AN ANSWER THAT IMPRESS THE INTERVIEWER | | 2 |
| 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 |
| The C language terminator is
a.semicolon
b.colon
c.period
d.exclamation mark
| TCS | 3 |
| why TCS selected more student in the software field from
all institution. | TCS | 3 |
| how to return 1000 variables from functio9n in c?plz give me
code also | | 5 |
| What does the message "warning: macro replacement within a
string literal" mean? | | 1 |
| Write the program for displaying the ten most frequent words
in a file such that your program should be efficient in all
complexity measures. | Google | 3 |
| a C prog to swap 2 no.s without using variables just an
array? | TCS | 4 |
| Identify the correct argument for the function call fflush
() in ANSI C:
A)stdout
B)stdin
C)stderr
D)All the above
| Accenture | 3 |
| consider the following program sigment
int n,sum=1;
switch(n) {
case 2:sum=sum+2;
case 3:sum*=2;
break;
default:sum=0;}
if n=2, what is the value of sum
a.0
b.6
c.3
d.none
| TCS | 4 |
| main()
{
int i=400,j=300;
printf("%d..%d");
}
| ME | 8 |
| What is the difference between char a[] = "string"; and
char *p = "string"; ? | Honeywell | 11 |
| size maximum allocated by calloc() | DELL | 1 |
| |
| For more C Interview Questions Click Here |