what is stack , heap ,code segment,and data segment
No Answer is Posted For this Question
Be the First to Post Answer
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
#include<stdio.h> main() { int a[3]; int *I; a[0]=100;a[1]=200;a[2]=300; I=a; Printf(“%d\n”, ++*I); Printf(“%d\n”, *++I); Printf(“%d\n”, (*I)--); Printf(“%d\n”, *I); } what is the o/p a. 101,200,200,199 b. 200,201,201,100 c. 101,200,199,199 d. 200,300,200,100
Will Macros support multiple arguments ?
Why do we use static in c?
What are the advantages of using linked list for tree construction?
What is a macro, and explain how do you use it?
how does a general function , that accepts an array as a parameter, "knows" the size of the array ? How should it define it parameters list ?
Write a program to check palindrome number in c programming?
Discuss similarities and differences of Multiprogramming OS and multiprocessing OS?
can please someone teach me how to create this program using while statement.. this is the output should look like 0 2 4 6 8 10 -thanks.. :) need it asap...
In the below code, how do you modify the value 'a' and print in the function. You'll be allowed to add code only inside the called function. main() { int a=5; function(); // no parameters should be passed } function() { /* add code here to modify the value of and print here */ }
write a program of bubble sort using pointer?