| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| to find out the reverse digit of a given number | Infosys | 5 |
| how to return 1000 variables from functio9n in c?plz give me
code also | | 5 |
| What do you mean by team?? | | 2 |
| Will Macros support multiple arguments ?
| Oracle | 7 |
| two progs are given. one starts counting frm 0 to MAX and
the other stars frm MAX to 0. which one executes fast.
| Verifone | 5 |
| 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 |
| I have a function which accepts, and is supposed to
initialize,a pointer, but the pointer in the caller remains
unchanged. | | 1 |
| for(i=0;i=printf("Hello");i++);
printf("Hello");
how many times how will be printed????????? | | 4 |
| To what value are pointers initialized?
1) NULL
2) Newly allocated memory
3) No action is taken by the compiler to initialize
pointers.
| | 2 |
| to find the program of matrix multiplication using arrays | | 2 |
| what is the return value (status code) of exit() function....
what the arguments(integer value) passed to it means.... | TCS | 1 |
| which one of follwoing will read a character from keyboard
and store in c
a)c=getc()
b)c=getchar()
c)c=getchar(stdin)
d)getc(&c)
e)none | | 5 |
| what is the maximum no. of bytes calloc can allocate | Mphasis | 2 |
| #include <stdio.h>
int main ( int argc, char* argv [ ] )
{
int value1 = 10;
int value2 = 5;
printf ( "\n The sum is :%d", value1 | value2 );
}
This is the answer asked by some one to add two numbers
with out using arithmetic operator?Yes this answer is write
it given out put as 15.But how?????
what is need of following line?
int main ( int argc, char* argv [ ] )
how it work?what is the meaning for this line?
please explain me.Advance thanks | Excel | 4 |
| WHAT IS THE DIFFERANCE BITWIN GETS();AND SCANF(); | | 2 |
| hat is a pointer? | Assurgent | 3 |
| declare afunction pointer to int printf(char *)? | HCL | 1 |
| What is structure padding & expalain wid example
what is bit wise structure? | | 1 |
| What are .h files and what should I put in them? | | 3 |
| How can we see the Expanded source code and compiled code
for our source program in C? | | 1 |
| |
| For more C Interview Questions Click Here |