HOW TO ANSWER IF ASKED " WHAT KIND OF A PERSON ARE YOU?" I NEED AN ANSWER THAT IMPRESS THE INTERVIEWER
4 7257#include
wat is the difference between a definition and declaration? float y;---it looks like a declaration..but it s a definition.how?someone explain
TCS,
3 11342void 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 7154void main()
{int a[5],i,b=16;
for(i=0;i<5;i++)
a[i]=2*i;
f(a,5,b);
for(i=0;i<5;i++)
printf("\n %d",a[i]);
printf("\n %d",b);
}
f(int *x,int n,int y)
{
int i;
for(i=0;i TCS,
What are the preprocessor categories?
Why do we use return in c?
What is bss in c?
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
What is queue in c?
Explain what are header files and explain what are its uses in c programming?
What is pragma in c?
What would happen to X in this expression: X += 15; (assuming the value of X is 5)
Explain the bubble sort algorithm.
an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational
What is a nested formula?
Write a program to print all permutations of a given string.
When c language was developed?
What is wild pointer in c?
What is #include conio h?