| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| write the function int countchtr(char string[],int
ch);which returns the number of timesthe character ch
appears in the string. for example the call countchtr("she
lives in Newyork",'e') would return 3. | | 4 |
| C program to find frequency of each character in a text
file? | | 3 |
| what is the difference between const volatile int i
& volatile const int j; | HCL | 2 |
| Given an unsigned integer, find if the number is power of 2? | | 4 |
| #define f(x)
main()
{
printf("\n%d",f(2+2));
} | | 3 |
| what is link list?
| | 2 |
| WHAT IS THE DIFFERANCE BITWIN GETS();AND SCANF(); | | 2 |
| can we write a program in c for printf and scanf without
using header file stdio.h | | 1 |
| main()
{
char *ptr = "Ramco Systems";
(*ptr)++;
printf("%s\n",ptr);
ptr++;
printf("%s\n",ptr);
}
Find the Outputs? | CitiGroup | 7 |
| how to find the kth smallest element in the given list of
array elemnts.
| Silicon | 5 |
| what is the use of pointers | | 5 |
| why you will give me a job in TCS. | TCS | 5 |
| give one ip, find out which contry | Google | 4 |
| how to find that no is int or float? | | 5 |
| actually i have 2 years teaching experience as computer
faculty but now i am a DBA but when i go for interview many
peoples asked me why i left my teaching profession and why
i want to come in this field kindly give me the proper
answer of this queston
| | 1 |
| How the C program can be compiled? | HP | 7 |
| Hi,
main()
{
}
Is a user defined function or Built in Functionn | Honeywell | 9 |
| Identify the correct argument for the function call fflush
() in ANSI C:
A)stdout
B)stdin
C)stderr
D)All the above
| Accenture | 3 |
| Write one statement equalent to the following two statements
x=sqr(a);
return(x);
Choose from one of the alternatives
a.return(sqr(a));
b.printf("sqr(a)");
c.return(a*a*a);
d.printf("%d",sqr(a));
| TCS | 4 |
| how to find a 5th bit is set in c program | IBM | 3 |
| |
| For more C Interview Questions Click Here |