HOW TO ANSWER IF ASKED " WHAT KIND OF A PERSON ARE YOU?" I NEED AN ANSWER THAT IMPRESS THE INTERVIEWER
4 7247#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 11336void 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 7152void 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 c keywords?
write a c program to find the sum of five entered numbers using an array named number
p*=(++q)++*--p when p=q=1 while(q<=6)
Is it valid to address one element beyond the end of an array?
which type of aspect you want from the student.
write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.
What is the difference between memcpy and memmove?
Write a program in c to replace any vowel in a string with z?
Differentiate between #include<...> and #include '...'
What do you mean by dynamic memory allocation in c?
a value that does not change during program execution a) variabe b) argument c) parameter d) none
Explain what are multibyte characters?
Why malloc is faster than calloc?
What is the difference between malloc() and calloc() function in c language?
What is maximum size of array in c?