HOW TO ANSWER IF ASKED " WHAT KIND OF A PERSON ARE YOU?" I NEED AN ANSWER THAT IMPRESS THE INTERVIEWER
4 7122#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 11235void 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 7090void 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 union and structure in c?
What is chain pointer in c?
What is difference between structure and union?
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor
difference between object file and executable file
a value that does not change during program execution a) variabe b) argument c) parameter d) none
How many header files are in c?
What is the benefit of using #define to declare a constant?
write a proram to reverse the string using switch case?
Do pointers need to be initialized?
Do you have any idea how to compare array with pointer in c?
Write a factorial program using C.
What is the description for syntax errors?
What is the default value of local and global variables in c?