| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is available in C language but not in C++? | | 1 |
| What is the value of y in the following code?
x=7;y=0;
if(x=6)
y=7;
else
y=1;
| TCS | 10 |
| The differences between Windows XP and Windows Visa
| HCL | 7 |
| how to create c progarm without void main()? | | 1 |
| Tell us the difference between these two :
#include"stdio.h"
#include<stdio.h>
define in detial. | | 4 |
| what is the use of keyword volatile?? | LG-Soft | 4 |
| 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 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 | 3 |
| what is real time system?what is the differance between hard
and soft real time systems | | 2 |
| suppose we use switch statement and we intilize years name
using enum statement like(jan,feb,mar,------dec) we take
integer value as an input .question is that the month which
we analyz is from 0 to 11 bt if i enter 12 than how he
again starts from begning and print jan | | 1 |
| Hai why 'c' is the middle language | | 2 |
| What is the memory allocated by the following definition ?
int (*x)(); | ADITI | 2 |
| How does C++ help with the tradeoff of safety vs. usability?
| | 1 |
| why java is called as a purely oops language. | | 2 |
| what is the defrenece between structure and union | | 5 |
| How can draw a box in cprogram without using graphics.h
header file & using only one printf(); ? | NIIT | 1 |
| compute the nth mumber in the fibonacci sequence? | TCS | 7 |
| how many times of error occur in C | | 7 |
| program to find the roots of a quardratic equation | | 1 |
| any string of bits of length 'n' represents a unique non-
negative integer between.............? | | 2 |
| |
| For more C Interview Questions Click Here |