| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| main()
{
int i,j,A;
for(A=-1;A<=1;A++)
prinf("%d\t",!!A);
} | | 5 |
| what is Structural oriented language?
give some example of this language.....? | | 1 |
| what is disadvantage of pointer in C | Tech-Mahindra | 5 |
| What ios diff. Between %e & %f? | Honeywell | 1 |
| what is difference between overriding and overloading? | | 1 |
| Who is invented by c? | Infosys | 14 |
| how can i get this by using for loop?
*
**
*
****
*
****** | Excel | 3 |
| CopyBits(x,p,n,y)
copy n LSBs from y to x starting LSB at 'p'th position. | Adobe | 4 |
| write a c program to print a given number as odd or even
without using loop statements,(no if ,while etc) | | 4 |
| what is the difference between structural,object
based,object orientd programming languages? | PanTerra | 1 |
| What are .h files and what should I put in them? | | 3 |
| #define d 10+10
main()
{
printf("%d",d*d);
} | | 3 |
| 52.write a “Hello World” program in “c” without using a
semicolon?
53.Give a method to count the number of ones in a 32 bit number?
54.write a program that print itself even if the source file
is deleted?
55.Given an unsigned integer, find if the number is power of 2? | | 6 |
| How to use c/c++ code in JAVA | Satyam | 7 |
| How to Clear last bit if it 1 using Macro TURN_OFF_BIT_LAST | Adobe | 2 |
| What is the function of ceil(X) defined in math.h do?
A)It returns the value rounded down to the next lower
integer
B)it returns the value rounded up to the next higher integer
C)the Next Higher Value
D)the next lower value | Accenture | 3 |
| can we access one file to one directory? | | 1 |
| f(char *p)
{
p=(char *)malloc(sizeof(6));
strcpy(p,"HELLO");
}
main()
{
char *p="BYE";
f(p)
printf("%s",p);
}
what is the output?
| Hughes | 6 |
| what is the difference between arrays and linked list | Tech-Mahindra | 15 |
| which types of data structure will i use to convert infix to
post fix??? | IIT | 3 |
| |
| For more C Interview Questions Click Here |