| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| write a program to find the number of even integers and odd
integers in a given array in c language | Olive-Tech | 2 |
| how to find the size of the data type like int,float
without using the sizeof operator? | | 7 |
| Is it possible to create recycle bin in mobiles? | | 2 |
| What should be keep precautions while using the recursion
method? | | 1 |
| given the piece of code
int a[50];
int *pa;
pa=a;
to access the 6th element of the array which of the
following is incorrect?
a.*(a+5)
b.a[5]
c.pa[5]
d.*(*pa + 5)
| TCS | 5 |
| Is the C language is the portable language...If yes...Then
Why...and if not then what is problem so it is not a
Portable language..??? | TCS | 1 |
| how many header file is in C language ? | | 14 |
| Print all the palindrome numbers.If a number is not
palindrome make it one by attaching the reverse to it.
eg:123
output:123321 (or) 12321 | | 2 |
| which of the following go out of the loopo if expn 2
becoming false
a.while(expn 1){...if(expn 2)continue;}
b.while(!expn 1){if(expn 2)continue;...}
c.do{..if(expn 1)continue;..}while(expn 2);
d.while(!expn 2){if(expn 1)continue;..}
| TCS | 2 |
| what is the stackpointer | | 2 |
| int *p=20;
if u print like dis printf("%d",p);
o\p:- 20; how is it possible?
plz give me the explanation. | Global-Edge | 11 |
| WHY DO WE USE A TERMINATOR IN C LANGUAGE? | | 2 |
| Can you think of a way when a program crashed before
reaching main? If yes how? | | 2 |
| how to copy a string without using c function | | 5 |
| 2)#include<iostream.h>
main()
{
printf("Hello World");
}
the program prints Hello World without changing main() the
o/p should
be
intialisation
Hello World
Desruct
the changes should be
a)iostream operator<<(iostream os, char*s)
os<<'intialisation'<<(Hello World)<<Destruct
b) c) d)none of the above | Siemens | 4 |
| plz answer.. a program that takes a string e.g. "345" and
returns integer 345 | | 3 |
| Write code for finding depth of tree | Adobe | 1 |
| how memory store byte
| Huawei | 3 |
| without a terminator how can we print a message in a printf
() function. | NIIT | 5 |
| Dear Sir,
we are required the bubble sorting programs
Regs
Prem | | 1 |
| |
| For more C Interview Questions Click Here |