| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is link list?
| | 2 |
| write a program structure to find average of given number | | 1 |
| 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 |
| what is a headerfile?and what will be a program without it
explain nan example? | Assurgent | 5 |
| could u able to tell about suresoft technical session | | 1 |
| compute the nth mumber in the fibonacci sequence? | TCS | 7 |
| which of the following statements is incorrect
a.typedef struct new{
int n1;
char n2;
} DATA;
b.typedef struct {
int n3;
char *n4;
}ICE;
c.typedef union {
int n5;
float n6;
} UDT;
d.#typedef union {
int n7;
float n8;
} TUDAT;
| TCS | 5 |
| how can i get this by using for loop?
*
**
*
****
*
****** | Excel | 3 |
| f()
{
int a=2;
f1(a++);
}
f1(int c)
{
printf("%d", c);
}
c=?
| Geometric-Software | 2 |
| Why is conio.h not required when we save a file as .c and
use clrscr() or getch() ? | | 2 |
| 1)which of following operator can't be overloaded.
a)== b)++ c)?! d)<= | Siemens | 10 |
| write a c programs to do multiplication of two numbers with
out using arithmatic operator ?????????? | TCS | 4 |
| hat is a pointer? | Assurgent | 3 |
| What are volatile variables? | | 1 |
| what is the difference between declaration and definition
of a variable or function ? | | 2 |
| Explain what?s happening in the first constructor: public
class c{ public c(string a) : this() {;}; public c() {;} }
How is this construct useful?
| | 1 |
| what is the difference between getch() and getchar()? | | 5 |
| 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? | CTS | 2 |
| What is the memory allocated by the following definition ?
int (*x)(); | ADITI | 2 |
| difference between semaphores and mutex? | | 1 |
| |
| For more C Interview Questions Click Here |