The variables are
int sum=10,SuM=20;
these are same or different?
Answers were Sorted based on User's Feedback
Answer / sanjay kumar gupta
both are different because it is in c language.it is a case
sensitive language.sum & SUM(capital) both are different
variable.there are two location in the memory 1 for sum and
other for SUM.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / swati gour
both are different things because sum & SUM are different
variable in memory.
| Is This Answer Correct ? | 4 Yes | 0 No |
Find errors (1) m = ++a*5; (2) a = b ++ -c*2; (3)y = sqrt (1000);
Write any data structure program (stack implementation)
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
Is the exit() function same as the return statement? Explain.
0 Answers Agilent, ZS Associates,
2)#include<iostream.h> main() { printf("Hello World"); } the program prints Hello World without changing main() the o/p should be intialisation Hello World Desruct the changes should be a)iostream operator<<(iostream os, char*s) os<<'intialisation'<<(Hello World)<<Destruct b) c) d)none of the above
which do you prefer C or Pascal?
Write a c program to print the even numbers followed by odd numbers in an array without using additional array
Print the foll in C...eg when n=5 the o/p must b + + + + + + + + + + + + + + + + +
Why does everyone say not to use scanf? What should I use instead?
What is function and its example?
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
Explain how can you be sure that a program follows the ansi c standard?