main()
{
int arr[5]={23,67};
printf("%d%d%d",arr[2],arr[3],arr[4]);
}
Answer Posted / vignesh1988i
all wil print the garbage values in the respected
memories... since we only initilized for two locations in
th array.... so other locations in the array wil have
garbage values
| Is This Answer Correct ? | 13 Yes | 9 No |
Post New Answer View All Answers
What is #pragma statements?
Who developed c language and when?
Tell me when would you use a pointer to a function?
find out largest elemant of diagonalmatrix
Where are c variables stored in memory?
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
What does typeof return in c?
Why malloc is faster than calloc?
What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?
What language is windows 1.0 written?
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
Is python a c language?
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
What is omp_num_threads?
What is the use of ?