what will be the output:
main(){char ch;int a=10;printf("%d",ch);}
Answers were Sorted based on User's Feedback
Answer / kanmani
I think this program produce some garbage value.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vikram
output will be any garbage value since ch is not assigned
any value
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / thirupathi reddy
it doesn't give error
it depends up on compiler u use. but gives some value
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / p.thriveni
it will giv the warning as 'a' is assigned a avalue that
is never be used.
Is This Answer Correct ? | 0 Yes | 0 No |
printf("%d",(printf("Hello")); What it returns?
What is extern keyword in c?
simple c program for 12345 convert 54321 with out using string
1.write a program to merge the arrays 2.write efficient code for extracting unique elements from a sorted list of array?
int main() { int days; printf("enter days you are late"); scanf("%d",days); if (days<=5) printf("5o paisa fine"); if (days<=10&&days>=6) printf("1rs fine"); if(days>10) printf("10 rs fine"); if(days=30) printf("membership cancelled"); return 0; } tell me whats wrong in this program? is it right?
How can I call fortran?
What is substring in c?
Why array starts with index 0
Which control loop is recommended if you have to execute set of statements for fixed number of times?
1. Write a C program to count the number of occurrence of a specific word in the given strings. (for e.g. Find how many times the word “live” comes in the sentence “Dream as if you’ll live forever, live as if you’ll die today ”)
Explain the process of converting a Tree into a Binary Tree.
what is reason of your company position's in india no. 1.