HOW TO ANSWER IF ASKED " WHAT KIND OF A PERSON ARE YOU?" I NEED AN ANSWER THAT IMPRESS THE INTERVIEWER
4 7253#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 11337void 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,
Why functions are used in c?
What is the difference between malloc() and calloc() function in c language?
How many types of operator or there in c?
If the size of int data type is two bytes, what is the range of signed int data type?
Distinguish between actual and formal arguments.
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
Write a code to generate a series where the next element is the sum of last k terms.
What are categories used for in c?
What is pointer & why it is used?
What is the stack in c?
What is the sizeof () a pointer?
What is c preprocessor mean?
What is the value of c?
What is the purpose of & in scanf?
Explain data types & how many data types supported by c?