| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What should not contain a header file? | | 2 |
| size maximum allocated by calloc() | DELL | 1 |
| int i;
i=2;
i++;
if(i=4)
{
printf(i=4);
}
else
{
printf(i=3);
}
output of the program ?
| Mascot | 9 |
| How to receive strings with spaces in scanf() | | 4 |
| the operator for exponencation is
a.**
b.^
c.%
d.not available
| TCS | 4 |
| wat is the difference between a definition and declaration?
float y;---it looks like a declaration..but it s a
definition.how?someone explain | | 3 |
| how to return 1000 variables from functio9n in c?plz give me
code also | | 5 |
|
main()
{
int x=10,y=15;
x=x++;
y=++y;
printf("%d %d\n",x,y);
}
output?? | Ramco | 13 |
| difference of two no's with out using - operator | | 6 |
| to find the program of matrix multiplication using arrays | | 2 |
| Which of the Following will define a type NODE that is a
node in a Linked list?
A)struct node {NODE*next;int x;};type def struct node NODE;
B)typedef struct NODE {struct NODE *next;int x;};
C)typedef struct NODE {NODE *next;int x;};
D)typedef struct {NODE *next;int x;}NODE;
| Accenture | 4 |
| what is array? | HCL | 22 |
| N O S I E R
+ A S T R A L
----------------
7 2 5 6 1 3 | Honeywell | 2 |
| What is structure padding & expalain wid example
what is bit wise structure? | | 1 |
| when will be evaluated as true/
if(x==x==x)
a) x=1;
b) x=0;
c) x=-1;
d) none | HCL | 4 |
| What is an anonymous union and where to apply that ? | HP | 3 |
| what is the difference between #include<stdio.h> and
#include "stdio.h" ? | | 2 |
| Write a C program to print 1 2 3 ... 100 without using
loops? | | 5 |
| what is a headerfile?and what will be a program without it
explain nan example? | Assurgent | 5 |
| What is RAM memory? and What is ROM?Who designed one is
temparary and another is permanent?why they designed like
that?By using far pointer which type data(whether
hexadecimal)we can access? | Excel | 1 |
| |
| For more C Interview Questions Click Here |