| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| write a program to check whether a given integer is a strong
number or not?
[Hint:
145=1!+4!+5!
=1+24+120
=145]
| | 4 |
| we have to use realloc only after malloc or calloc ? or we
can use initially with out depending on whether we are
using malloc or calloc in our program ? | | 1 |
| What is the memory allocated by the following definition ?
int (*x)(); | ADITI | 2 |
| HOW TO SWAP TWO NOS IN ONE STEP? | Satyam | 12 |
| What compilation do? | Geometric-Software | 7 |
| Is the C language is the portable language...If yes...Then
Why...and if not then what is problem so it is not a
Portable language..??? | TCS | 1 |
| prototype of sine function. | Cadence | 2 |
| a=0;
while(a<5)
printf("%d\n",a++);
how many times does the loop occurs?
a.infinite
b.5
c.4
d.6
| TCS | 5 |
| what is the diff between the printf and sprintf functions??
and what is the syntax for this two functions ?? | | 4 |
| define function | Assurgent | 4 |
| write a own function for strstr | LG-Soft | 1 |
| print ur name without using any semicolon in c/c++.... | | 6 |
| What do you mean by team?? | | 2 |
| how memory store byte
| Huawei | 3 |
| I have a function which accepts a pointer to an int. How
can I pass a constant like 5 to it? | | 3 |
| write a program that print itself even if the source file is
deleted? | | 1 |
| Study the Following Points:
a.One Cannot Take the address of a Bit Field
b.bit fields cannot be arrayed
c.Bit-Fields are machine Dependant
d.Bit-fields cannot be declared as static
1. Which of the Following Statements are true w.r.t Bit-
Fields
A)a,b&c B)Only a & b C)Only c D)All
| Accenture | 2 |
| what is the use of using linked list and array? | Infosys | 9 |
| Switch (i)
i=1;
case 1
i++;
case 2
++i;
break;
case 3
--i;
Output of i after executing the program
| Mascot | 4 |
| difference between semaphores and mutex? | | 1 |
| |
| For more C Interview Questions Click Here |