| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| code for copying two strings with out strcpy() function. | | 5 |
| here is a link to download Let_Us_C_-_Yashwant_Kanetkar | | 2 |
| how to sort two array of characters and make a new array of
characters. | Accenture | 1 |
| what is use#in c | | 3 |
| What is meaning of "Void main" in C Language. | TCS | 8 |
| helllo sir
give me some information of the basic information the
c as printf ,scanf , %d ,%f and why is the main use of
these. | | 3 |
| Binary tree traversing | Qualcomm | 1 |
| Given an array of numbers, except for one number all the
others occur twice. Give an algorithm to find that number
which occurs only once in the array. | | 4 |
| What is the difference between char a[] = "string"; and
char *p = "string"; ? | Honeywell | 11 |
| Difference Between embedded software and soft ware? | Bosch | 1 |
| YBJBU6 | | 1 |
| what are brk, sbrk?
| Oracle | 1 |
| i want to have a program to read a string and print the
frequency of each character and it should work in turbo c | | 2 |
| I have an array of 100 elements. Each element contains some
text. i want to:
append a star character to the end of every fifth element
remove every second character from every tenth element,
and…
add a line feed (ascii 10) after the 30th character of
every array element whose length is greater than 30
characters. | | 1 |
| Would you rather wait for the results of a quicksort, a
linear search, or a bubble sort on a 200000 element array?
1) Quicksort
2) Linear Search
3) Bubble Sort
| | 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 |
| WAP to find that given no is small or capital | | 1 |
| 6. Which of the Following is not defined in string.h?
A)strspn()
B)strerror()
C)memchr()
D)strod()
| Accenture | 1 |
| how to copy a string without using c function | | 5 |
| 12. Look at the Code:
main()
{
int a[]={1,2,3},i;
for(i=0;i<3;i++)
{
printf("%d",*a);
a++;
}
}
Which Statement is/are True w.r.t the above code?
I.Executes Successfully & Prints the contents of the array
II.Gives the Error:Lvalue Required
III.The address of the array should not be changed
IV.None of the Above.
A)Only I B)Only II C)II & III D)IV
| Accenture | 4 |
| |
| For more C Interview Questions Click Here |