HOW TO ANSWER IF ASKED " WHAT KIND OF A PERSON ARE YOU?" I NEED AN ANSWER THAT IMPRESS THE INTERVIEWER
4 7119#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 11232void 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 7088void 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 is the use of putchar function?
Which header file is used for clrscr?
Write a program to check palindrome number in c programming?
Write a program to swap two numbers without using a temporary variable?
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
can we have joblib in a proc ?
Explain what are header files and explain what are its uses in c programming?
What is the translation phases used in c language?
How do we open a binary file in Read/Write mode in C?
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
Why are all header files not declared in every c program?
What is abstract data structure in c?
What is hash table in c?
what is use of malloc and calloc?
How can I get the current date or time of day in a c program?