Why doesnt that code work?
No Answer is Posted For this Question
Be the First to Post Answer
write an interactive program to generate the divisors of a given integer.
Why enum is used in c?
What is this infamous null pointer, anyway?
What are the benefits of organizational structure?
How can you find the day of the week given the date?
What is variable in c example?
How can I prevent another program from modifying part of a file that I am modifying?
Explain the bubble sort algorithm.
What are the benefits of c language?
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
2.Given the short c program that follows a. make a list of the memory variables in this program b.which lines of code contain operations that change the contents of memory? what are those operations? Void main( void) { Double base; Double height; Double area; Printf(“enter base and height of triangle :”); Scanf(“%lg”, &base); Scanf(“%lg”, &height); Area=base*height/2.0; Printf(“the area of the triangle is %g \n”,area); }
What is the OOPs concept?