| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| IS STRUCTURES CAN BE USED WITHIN AN ARRAY? | Caritor | 7 |
| 1)which of following operator can't be overloaded.
a)== b)++ c)?! d)<= | Siemens | 10 |
| how to add numbers without using arithmetic operators. | TCS | 10 |
| HOW CAN ADD OUR FUNCTION IN LIBRARY. | | 5 |
| what is a static function | Satyam | 10 |
| if the address of a[1,1] and a[2,1] are 1000 and 1010
respectively and each occupies 2 bytes then the array has
been stored in what order? | | 3 |
| find a number whether it is even or odd without using any
control structures and relational operators? | Microsoft | 14 |
| Which of the following are valid "include" formats?
A)#include and #include[file.h]
B)#include (file.h) and #include
C)#include [file.h] and #include "file.h"
D)#include <file.h> and #include "file.h"
| Accenture | 14 |
| who did come first hen or agg | Infosys | 12 |
| why we shiuld use main keyword in C | | 5 |
| what is compiler | | 5 |
| how many argument we can pas in in a function | CTS | 20 |
| What is the result
main()
{
char c=-64;
int i=-32
unsigned int u =-16;
if(c>i){
printf("pass1,");
if(c<u)
printf("pass2");
else
printf("Fail2");}
else
printf("Fail1);
if(i<u)
printf("pass2");
else
printf("Fail2")
}
a)Pass1,Pass2
b)Pass1,Fail2
c)Fail1,Pass2
d)Fail1,Fail2
e)none
| IBM | 7 |
| Given an unsigned integer, find if the number is power of 2? | | 4 |
| what is the difference between getch() and getchar()? | | 5 |
| how many error occurs in C language ? | Wipro | 11 |
| 1
232
34543
4567654
can anyone tell me how to slove this c question | | 3 |
| how does the C compiler interpret the following two statements
p=p+x;
q=q+y;
a.p=p+x;
q=q+y
b.p=p+xq=q+y
c.p=p+xq;
q=q+y
d.p=p+x/q=q+y
| TCS | 3 |
| helllo sir
give me some information of the basic information the
c as printf ,scanf , %d ,%f and why is the main use of
these. | | 3 |
| what are the uses of structure? | HCL | 5 |
| |
| For more C Interview Questions Click Here |