| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| How can draw a box in cprogram without using graphics.h
header file & using only one printf(); ? | NIIT | 1 |
| write an algorithm to get a sentence and reverse it in the
following format:
input : I am here
opuput: Here Am I
note: first letter of every word is capiatlised | | 2 |
| what is the advantage of using SEMAPHORES to ORDINARY
VARIABLES??? | NSN | 1 |
| 1
232
34543
4567654
can anyone tell me how to slove this c question | | 3 |
| create an SINGLE LINKED LISTS and reverse the data in the
lists completely | | 3 |
| main is a predefined or user define function
if user defined why?
if predefined whay? | TCS | 2 |
| which one low Priority in c?
a)=,b)++,c)==,d)+ | | 8 |
| difference between my-strcpy and strcpy ? | Geometric-Software | 3 |
| how can i get this by using for loop?
*
**
*
****
*
****** | Excel | 3 |
| what are brk, sbrk?
| Oracle | 1 |
| given the piece of code
int a[50];
int *pa;
pa=a;
to access the 6th element of the array which of the
following is incorrect?
a.*(a+5)
b.a[5]
c.pa[5]
d.*(*pa + 5)
| TCS | 5 |
| What is macro? | IBM | 4 |
| In the following control structure which is faster?
1.Switch
2.If-else
and which consumes more memory? | | 4 |
| why division operator not work in case of float constant? | | 1 |
| WHY DO WE USE A TERMINATOR IN C LANGUAGE? | | 2 |
| How many ways are there to swap two numbers without using
temporary variable? Give the each logic. | | 6 |
| main()
{
int a = 65;
printf(“%d %o %x”,a,a,a);
}
Output
65 101 41
Please explain me.How it is coming like that?
| Excel | 2 |
| Write a program to give following output.....
*********
**** ****
*** ***
** **
* *
** **
*** ***
**** ****
********* | | 2 |
| How to reverse a string using a recursive function, without
swapping or using an extra memory? | Motorola | 18 |
| write a program to compare 2 numbers without using logical
operators? | IBM | 1 |
| |
| For more C Interview Questions Click Here |