what will be the output:
main(){char ch;int a=10;printf("%d",ch);}
Answers were Sorted based on User's Feedback
Answer / ranjani
it will give a warning " that a is assigned a value that is
never used"......
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / a.dinesh kumar
error will be occur because a is not in use in output
statement
| Is This Answer Correct ? | 2 Yes | 6 No |
Write a program to write a given string in maximum possibilities? i.e str[5]="reddy"; i.e we can write this string in 120 ways for that write a program
What is typedef struct in c?
name the language for writing c compiler?
How can I swap two values without using a temporary?
Is c still used in 2019?
What is wrong with this code such that it doesnt produce the input reversed? #include <stdio.h> #include <stdlib.h> #include <string.h> int main(void) { char Space = ' '; char LineOfText; float count; LineOfText = getchar(); while ((LineOfText = getchar()) != '/n'); { count = strlen(LineOfText) - 1; while (count >= 0) { putchar(LineOfText[count]); count--; } } getchar(); return 0; }
Why does everyone say not to use scanf? What should I use instead?
1)what are limitations for recursive function? 2)write a program to read a text file and count the number of characters in the text file
f(*p) { p=(char *)malloc(6); p="hello"; return; } main() { char *p="bye"; f(p); printf("%s",p); } what is the o/p?
4.A function 'q' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as: A)int (*q(char*)) [] B)int *q(char*) [] C)int(*q)(char*) [] D)None of the Above
Explain About fork()?
what is call by value and call by reference