#define MAX 3
main()
{
printf("MAX = %d
",MAX );
#undef MAX
#ifdef MAX
printf("Vector Institute”);
#endif
}
a 'c' program to tell that the set of three coordinates lie on a same line
logic for generating all the combinations of the any number of given letters. ex::::::::: if a,b,c,d are given the o/p should be abcd,dcba,dbac,bcad,................ 4*3*2*1 combinations............
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; }
C passes By value or By reference?
5 Answers Geometric Software, Infosys,
what is the return value (status code) of exit() function.... what the arguments(integer value) passed to it means....
To find whether a number is even or odd without using any conditional operator??
12 Answers College School Exams Tests, IBM,
give an example of type casting by a simple c program
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
What is variables in c?
I have one doubt. What does below statement mean? #define sizeof(operator) where operator can be int or float etc. Does this statement meaningful and where it can be used?
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
What is spark map function?