| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Which of these statements are false w.r.t File Functions?
i)fputs() ii)fdopen() iii)fgetpos() iv)ferror()
A)ii B)i,ii C)iii D)iv
| Accenture | 5 |
| Write a program to generate prime factors of a given integer? | | 1 |
| What does the message "warning: macro replacement within a
string literal" mean? | | 1 |
| We can draw a box in cprogram by using only one printf();&
without using graphic.h header file? | NIIT | 3 |
| what is the first address that gets stored in stack
according to a C or C++ compiler???? or what will be the
first address that gets stored when we write a C source
code???????? | Apple | 2 |
| wt is d full form of c | Wipro | 1 |
| main()
{
char *ptr = "Ramco Systems";
(*ptr)++;
printf("%s\n",ptr);
ptr++;
printf("%s\n",ptr);
}
Find the Outputs? | CitiGroup | 7 |
| why java is called as a purely oops language. | | 2 |
| Determine the code below, tell me exactly how many times is
the operation sum++ performed ?
for ( i = 0; i < 100; i++ )
for ( j = 100; j > 100 - i; j--)
sum++; | ITCO | 3 |
| write a program that finds the factorial of a number using
recursion? | | 1 |
| what is use#in c | | 3 |
| what is the code for getting the output as
*
**
*** | Caritor | 5 |
| write program on arrays
| GE | 2 |
| i want to know aptitude questions,technical questions | | 2 |
| if array a conatins 'n' elements and array b conatins 'n-1'
elements.array b has all element which are present in array
a but one element is missing in array b. find that
element. | Zycus-Infotech | 9 |
| Name the language in which the compiler of "c" in written? | Bajaj | 1 |
| without a terminator how can we print a message in a printf
() function. | NIIT | 5 |
| 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 |
| 5. What kind of sorting is this:
SORT (k,n)
1.[Loop on I Index]
repeat thru step2 for i=1,2,........n-1
2.[For each pass,get small value]
min=i;
repeat for j=i+1 to N do
{
if K[j]<k[min]
min=j;
}
temp=K[i];K[i]=K[min];K[min]=temp;
3.[Sorted Values will be returned]
A)Bubble Sort
B)Quick Sort
C)Selection Sort
D)Merge Sort
| Accenture | 2 |
| print ur name without using any semicolon in c/c++.... | | 6 |
| |
| For more C Interview Questions Click Here |