| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| write a Program to dispaly upto 100 prime numbers(without
using Arrays,Pointer) | Wipro | 5 |
| f()
{
int a=2;
f1(a++);
}
f1(int c)
{
printf("%d", c);
}
c=?
| Geometric-Software | 2 |
| Software Interview Questions | CAT | 1 |
| write a programe returns the number of times the character
appears in the string | | 1 |
| write a addition of two no. program with out using
printf,scanf,puts . | | 2 |
| What are Storage Classes in C ? | HP | 6 |
| How can I implement opaque (abstract) data types in C?
What's the difference between these two declarations?
struct x1 { ... };
typedef struct { ... } x2;
| | 1 |
| IS STRUCTURES CAN BE USED WITHIN AN ARRAY? | Caritor | 7 |
| a C prog to swap 2 no.s without using variables just an
array? | TCS | 4 |
| What does extern mean in a function declaration? | | 2 |
| what is the diff between the printf and sprintf functions??
and what is the syntax for this two functions ?? | | 4 |
| what is volatile in c language? | TCS | 1 |
| How to write a program for swapping two strings without
using 3rd variable and without using string functions. | iGate | 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 |
| WHY DO WE USE A TERMINATOR IN C LANGUAGE? | | 2 |
| what is difference between array and structure?
| TCS | 9 |
| Write a function that accepts two numbers,say a and b and
makes bth bit of a to 0.No other bits of a should get
changed. | Scientific-Atlanta | 2 |
| What is structure packing ? | HP | 1 |
| Can I pass constant values to functions which accept structure
arguments? | | 2 |
| What is the difference between char a[] = "string"; and
char *p = "string"; ? | Honeywell | 8 |
| |
| For more C Interview Questions Click Here |