void main()
{int i=2;
printf("%d%d%d",i,++i,i++);
getch();
}
Answers were Sorted based on User's Feedback
Why the below program throughs error during compilation? #include<stdio.h> #include<conio.h> enum { ZERO, ONE, TWO, }; main() { printf("%d",&TWO); getch(); }
Predict the output or error(s) for the following: 25. main() { printf("%p",main); }
How to get string length of given string in c?
Write a program in C to print the alphabets in order as on a mobile phone.i.e:When 2 is pressed once 'a' prints and if it is pressed two times 'b' prints and so on.we have to print all the alphabets as on mobile phone like this.
How to calculate sum
5) Write a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors.without using big int and exponential function
Why cant I open a file by its explicit path?
What will be the output of following program #include main() { int x,y = 10; x = y * NULL; printf("%d",x); }
how do you execute a c program in unix.
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?
Is c functional or procedural?
what is computer