| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is structure padding & expalain wid example
what is bit wise structure? | | 1 |
| Write a program to generate prime factors of a given integer? | | 1 |
| Give the output for the following program.
#define STYLE1 char
main()
{
typedef char STYLE2;
STYLE1 x;
STYLE2 y;
clrscr();
x=255;
y=255;
printf("%d %d\n",x,y);
}
| ADITI | 1 |
| How to reverse a string using a recursive function, without
swapping or using an extra memory? | Motorola | 15 |
| Write a C function to search a number in the given list of
numbers. donot use printf and scanf | Honeywell | 6 |
| How would you write qsort? | | 1 |
| two variables are added answer is stored on not for third
variable how it is possible? | | 2 |
| what is the difference between const volatile int i
& volatile const int j; | HCL | 1 |
| 6. Which of the Following is not defined in string.h?
A)strspn()
B)strerror()
C)memchr()
D)strod()
| Accenture | 1 |
| print the following using nested for loop.
5 4 3 2 1
1 2 3 4
3 2 1
1 2
1
2 1
1 2 3
4 3 2 1
1 2 3 4 5 | | 4 |
| in C-programming language without using printf statement
can we get output r not ? if yes how and if no also how ?
| | 4 |
| without a terminator how can we print a message in a printf
() function. | NIIT | 3 |
| write a program to display the array elements in reverse
order in c language | | 2 |
| difference between my-strcpy and strcpy ? | Geometric-Software | 3 |
| what is the difference between
const char *p, char const *p, const char* const p
| Accenture | 2 |
| what is memory leak?
| | 3 |
| Will Macros support multiple arguments ?
| Oracle | 5 |
| what are the various memory handling mechanisms in C ? | HP | 2 |
| What is the Difference between Class and Struct? | Motorola | 9 |
| implement general tree using link list | Wipro | 1 |
| |
| For more C Interview Questions Click Here |