| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Given a single Linked list with lakhs of nodes and length
unknown how do you optimally delete the nth element from the
list? | Oracle | 1 |
| What are the phases in s/w developed life cycle?
wat is the diff b/w stack & queue...where do we use stack | | 5 |
| write a program to print sum of each row of a 2D array.
| | 2 |
| how to generate sparse matrix in c | | 1 |
| why java is called as a purely oops language. | | 2 |
| What are advantages and disadvantages of recursive
calling ? | HP | 11 |
| give one ip, find out which contry | Google | 4 |
| what is difference between array of characters and string | Accenture | 10 |
| main()
{
char *ptr = "Ramco Systems";
(*ptr)++;
printf("%s\n",ptr);
ptr++;
printf("%s\n",ptr);
}
Find the Outputs? | CitiGroup | 7 |
| void main()
{
int s[4][2]={ {1234,56},{1212,33},{1434,80},{1312,78} };
int (*p)[2];
int i,j,*pint;
for(i=0;i<=3;i++)
{
p=&s[i];
pint=p;
printf("\n");
for(j=0;j<=1;j++)
printf("%d",*(pint+j));
}
} while running this program it shows a warning-suspicious
pointer conversion ie pint=p; my que is why should we assign
the value of p to pint again.why cant we use it directly as
*(p+j)..but if i use like tat the o/p is garbage value.. | | 1 |
| which will be first in c compiling ,linking or compiling
,debugging. | Sonata | 3 |
| If 4 digits number is input through the keyboard, Write a
program to calculate sum of its 1st & 4th digit. | | 4 |
| what does " calloc" do? | Cadence | 6 |
| What compilation do? | Geometric-Software | 7 |
| can anyone proide me reading material on
svit00ef27@yahoo.com please thanx in advance
| IBM | 1 |
| write an algorithm which can find the largest number among
the given list using binary search ...............
this was asked in the interview | Satyam | 2 |
| How many types of linked lists what are they?
How many types of data structures? | | 4 |
| write a addition of two no. program with out using
printf,scanf,puts . | | 3 |
| DIFFERNCE BETWEEN THE C++ AND C LANGUAGE? | Wipro | 1 |
| code for copying two strings with out strcpy() function. | | 5 |
| |
| For more C Interview Questions Click Here |