main difference between c and c++ language
Answer / guest
c is procedure oriented language
c++ is object oriented language
c is a not secure
c++ is a secured
c is low level language
c++ is a middle language
c is top-down approach
c++ is bottom-up approach
Is This Answer Correct ? | 17 Yes | 1 No |
which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above
while initialization of two dimensional arrays we can initialize like a[][2] but why not a[2][] is there any reason behind this?
Why is it important to memset a variable, immediately after allocating memory to it ?
How to create struct variables?
What are the advantage of c language?
1.what are local and global variables? 2.what is the scope of static variables? 3.what is the difference between static and global variables? 4.what are volatile variables? 5.what is the use of 'auto' keyword? 6.how do we make a global variable accessible across files? Explain the extern keyword? 7.what is a function prototype? 8.what does keyword 'extern' mean in a function declaration?
what is function pointer?
void 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..
How can variables be characterized?
How the c program is executed?
Write a function that accepts two numbers,say a and b and makes bth bit of a to 0.No other bits of a should get changed.
2 Answers Scientific Atlanta, Wipro,
which type of aspect you want from the student.