| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| write an interactive program to generate the divisors of a
given integer. | TCS | 4 |
| 15.what is the disadvantage of using macros?
16.what is the self-referential structure?
17.can a union be self-referenced?
18.What is a pointer?
19.What is the Lvalue and Rvalue?
20.what is the difference between these initializations?
21.Char a[]=”string”;
22.Char *p=”literal”;
23.Does *p++ increment p, or what it points to? | | 1 |
| Is there any restriction in how many arguments printf or
scanf function can take?
in which file in my c++ compiler i can see the code for
implementation of these two functions?? | | 3 |
| Program to find the absolute value of given integer using
Conditional Operators | N-Tech | 2 |
| what is a c-language.what is do. | HCL | 3 |
| why you will give me a job in TCS. | TCS | 5 |
| 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 |
| how can i get output like this?
1
2 3
4 5 6 | Excel | 3 |
| what is data structure
| | 4 |
| how to find string length wihtout using c function? | | 4 |
| HOW TO SWAP TWO NOS IN ONE STEP? | Satyam | 12 |
| identify the in correct expression
a.a=b=3=4;
b.a=b=c=d=0;
float a=int b=3.5;
d.int a;
float b;
a=b=3.5;
| TCS | 5 |
| How can I set an array's size at run time? | | 7 |
| what is the difference between structural,object
based,object orientd programming languages? | PanTerra | 1 |
| How can I call a function, given its name as a string? | ABC-Telecom | 2 |
| Write a program to exchange two variaables without temp | Geometric-Software | 6 |
| #define swap1(a,b) a=a+b;b=a-b;a=a-b;
main()
{
int x=5,y=10;
swap1(x,y);
printf("%d %d\n",x,y);
swap2(x,y);
printf("%d %d\n",x,y);
}
int swap2(int a,int b)
{
int temp;
temp=a;
b=a;
a=temp;
return;
}
what are the outputs? | Ramco | 4 |
| what is difference b/w extern & volatile variable?? | Teleca | 2 |
| 2.main
{
int x,j,k;
j=k=6;x=2;
x=j*k;
printf("%d", x);
| HCL | 6 |
| what r callback function? | | 1 |
| |
| For more C Interview Questions Click Here |