| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| how to find that no is int or float? | | 5 |
| What are the preprocessors? | HP | 6 |
| what about "char *(*(*a[])())();"
| Oracle | 2 |
| which one is highest Priority in c?
a)=,b)+,c)++,d)== | | 3 |
| Look at the Code:
main()
{
int a[]={1,2,3},i;
for(i=0;i<3;i++)
{
printf("%d",*a);
a++;
}
}
Which Statement is/are True w.r.t the above code?
I.Executes Successfully & Prints the contents of the array
II.Gives the Error:Lvalue Required
III.The address of the array should not be changed
IV.None of the Above.
A)Only I B)Only II C)II & III D)IV
| Accenture | 3 |
| How to Clear last bit if it 1 using Macro TURN_OFF_BIT_LAST | Adobe | 2 |
| Which command is more efficient?
*(ptr+1) or ptr[1] | | 3 |
| what is meant by the "equivalence of pointers and arrays" in
C? | Satyam | 3 |
| How many types of linked lists what are they?
How many types of data structures? | BSNL | 5 |
| Hi,
main()
{
}
Is a user defined function or Built in Functionn | Honeywell | 9 |
| What's the difference between calloc() and malloc()? | | 3 |
| a=0;
while(a<5)
printf("%d\n",a++);
how many times does the loop occurs?
a.infinite
b.5
c.4
d.6
| TCS | 5 |
| What is the output of the program given below
#include<stdio.h>
main()
{
char i=0;
for(;i>=0;i++) ;
printf("%d\n",i);
} | ADITI | 14 |
| how to find the size of the data type like int,float
without using the sizeof operator? | | 7 |
| what is the definition of storage classes? | Wipro | 2 |
| what are the languages used in c#? | Infosys | 1 |
| Write code for finding depth of tree | Adobe | 1 |
| how to implement stack work as a queue? | | 2 |
| what's the return value of malloc() | | 8 |
| Why is conio.h not required when we save a file as .c and
use clrscr() or getch() ? | | 2 |
| |
| For more C Interview Questions Click Here |