what will be the output for the following program?
main()
{
char ch = 'k';
char c;
printf("%c",c);
}
Answers were Sorted based on User's Feedback
what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555
44.what is the difference between strcpy() and memcpy() function? 45.what is output of the following statetment? 46.Printf(“%x”, -1<<4); ? 47.will the program compile? int i; scanf(“%d”,i); printf(“%d”,i); 48.write a string copy function routine? 49.swap two integer variables without using a third temporary variable? 50.how do you redirect stdout value from a program to a file? 51.write a program that finds the factorial of a number using recursion?
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
Write a c program using for loop to print typical pattern if number of rows is entered by keyboard. ABCBA AB BA A A
what is linkage error when it occurs in c program
what is the advantage of software development
Why are algorithms important in c program?
Here is a good puzzle: how do you write a program which produces its own source code as output?
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
What is external and internal variables What is dynamic memory allocation what is storage classes in C
c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above
What is the difference between far and near ?