Can I initialize unions?
No Answer is Posted For this Question
Be the First to Post Answer
int arr[] = {1,2,3,4} int *ptr=arr; *(arr+3) = *++ptr + *ptr++; Final contents of arr[]
Can the curly brackets { } be used to enclose a single line of code?
Why c is called procedure oriented language?
What is the use of a static variable in c?
Output for following program using for loop only * * * * * * * * * * * * * * *
What are the application of void data type in c?
What is the best way to store flag values in a program?
24.what is a void pointer? 25.why arithmetic operation can’t be performed on a void pointer? 26.differentiate between const char *a; char *const a; and char const *a; 27.compare array with pointer? 28.what is a NULL pointer? 29.what does ‘segmentation violation’ mean? 30.what does ‘Bus Error’ mean? 31.Define function pointers? 32.How do you initialize function pointers? Give an example? 33.where can function pointers be used?
Describe advantages and disadvantages of the various stock sorting algorithms
12. Look at the Code: main() { int a[]={1,2,3},i; for(i=0;i<3;i++) { printf("%d",*a); a++; } } Which Statement is/are True w.r.t the above code? I.Executes Successfully & Prints the contents of the array II.Gives the Error:Lvalue Required III.The address of the array should not be changed IV.None of the Above. A)Only I B)Only II C)II & III D)IV
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
What are the key features in c programming language?