| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| how can i make a program with this kind of output..
Enter a number: 5
0
01
012
0123
01234
012345
01234
0123
012
01
0 | Wipro | 4 |
| what is the output for the code :
main()
{
int i,j;
printf("%d %d ",scanf("%d%d",&i,&j));
} | Infosys | 15 |
| what is the function of void main()? | | 6 |
| what is the return value (status code) of exit() function....
what the arguments(integer value) passed to it means.... | TCS | 1 |
| how to copy a string without using c function | | 5 |
| how to find out the reverse number of a digit if it is
input through the keyboard? | | 2 |
| Why doesn't the code "a[i] = i++;" work? | | 4 |
| Write code for atoi(x) where x is hexadecimal string. | Adobe | 2 |
| what is a far pointer | TCS | 9 |
| 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 |
| how to return 1000 variables from functio9n in c?plz give me
code also | | 5 |
| Is it possible to run a c program without using main?If yes
HOW?? | Wipro | 10 |
| convert 0.9375 to binary | CTS | 1 |
| a=0;
b=(a=0)?2:3;
a) What will be the value of b? why
b) If in 1st stmt a=0 is replaced by -1, b=?
c) If in second stmt a=0 is replaced by -1, b=?
| Geometric-Software | 6 |
| write a string copy function routine? | | 1 |
| what is difference between ++(*p) and (*p)++ | Accenture | 15 |
| write a own function to compare two strings with out using
stringcomparition function? | LG-Soft | 3 |
| how to find the size of the data type like int,float
without using the sizeof operator? | | 7 |
| Will Macros support multiple arguments ?
| Oracle | 7 |
| what are the general concepts of c and c++ | | 1 |
| |
| For more C Interview Questions Click Here |