| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Give the output for the following program.
#define STYLE1 char
main()
{
typedef char STYLE2;
STYLE1 x;
STYLE2 y;
clrscr();
x=255;
y=255;
printf("%d %d\n",x,y);
}
| ADITI | 1 |
| what is Structural oriented language?
give some example of this language.....? | | 1 |
| size maximum allocated by calloc() | DELL | 1 |
| HOW DO YOU HANDLE EXCEPTIONS IN C?
| AppLabs | 2 |
| plz answer..... a program that reads non-negative integer
and computes and prints its factorial | | 2 |
| How can I invoke another program from within a C program? | | 6 |
| related to rdbms query . | | 1 |
| write a c program to print a given number as odd or even
without using loop statements,(no if ,while etc) | | 4 |
| plz answer.. a program that takes a string e.g. "345" and
returns integer 345 | | 3 |
| why you will give me a job in TCS. | TCS | 5 |
| How to receive strings with spaces in scanf() | | 4 |
| which type of question asked from c / c++ in interview. | | 2 |
| How to convert a binary number to Hexa decimal number??
(Note:Do not convert it into binary and to Hexadecimal) | Subex | 1 |
| what is difference between ++(*p) and (*p)++ | Accenture | 15 |
| What are the commands should be given before weiting C
Program i.e, Cd.. like | Infonet | 3 |
| int a=1,b=2,c=3;
printf("%d,%d",a,b,c);
What is the output?
| Verifone | 14 |
| how can i get output like this?
1
2 3
4 5 6 | Excel | 3 |
| How to swap two values using a single variable ?
condition: Not to use Array and Pointer ? | | 4 |
| f(x,y,z)
{
y = y+1;
z = z+x;
}
main()
{
int a,b;
a = 2
b = 2;
f(a+b,a,a);
print a;
}
what is the value of 'a' printed | | 4 |
| If we give two names then this displays the connection
between the two people. It is nothing but flames game | | 1 |
| |
| For more C Interview Questions Click Here |