| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| how can i get output like this?
1
2 3
4 5 6 | Excel | 3 |
| what is the benefit of c30 | | 1 |
| How do we swap or interchange any 2 numbers without using
Temporary variable...Anybody can pls answer it.. Thanks in
Advance | | 7 |
| void main()
{
int i=5;
printf("%d",i+++++i);
}
| ME | 12 |
| What should be keep precautions while using the recursion
method? | | 1 |
| what is the value of 'i'?
i=strlen("Blue")+strlen("People")/strlen("Red")-strlen("green")
| Cadence | 4 |
| What is encapsulation? | | 1 |
| What is false about the following
A compound statement is
a.A set of simple statments
b.Demarcated on either side by curly brackets
c.Can be used in place of simple statement
d.A C function is not a compound statement.
| TCS | 1 |
| What is the memory allocated by the following definition ?
int (*x)(); | ADITI | 2 |
| Write a program or provide a pseudo code to flip the 2nd bit
of the 32 bit number ! (Phone Screen) | NetApp | 1 |
| what is real time system?what is the differance between hard
and soft real time systems | | 2 |
| What do you mean by team?? | | 2 |
| what is the difference b/w compiler and debugger? | Assurgent | 1 |
| Which of the following is not a valid declaration for main
()?
1) int main()
2) int main(int argc, char *argv[])
3) They both work
| | 2 |
| write a program to print the all 4digits numbers & whose
squares must me even numbers? | Virtusa | 2 |
| AMMONG THE 4 STROAGE CLASSES IN C, WHICH ONE FASTEST? | HCL | 12 |
| what is compiler | | 5 |
| main()
{
int a = 65;
printf(“%d %o %x”,a,a,a);
}
Output
65 101 41
Please explain me.How it is coming like that?
| Excel | 2 |
| main()
{
int i,j,A;
for(A=-1;A<=1;A++)
prinf("%d\t",!!A);
} | | 5 |
| How many ways are there to swap two numbers without using
temporary variable? Give the each logic. | | 6 |
| |
| For more C Interview Questions Click Here |