#include<stdio.h>
main()
{
const int i=4;
float j;
j = ++i;
printf("%d %f", i,++j);
}
Answer / susie
Answer :
Compiler error
Explanation:
i is a constant. you cannot change the value of constant
Is This Answer Correct ? | 9 Yes | 1 No |
How do I write a program to print proper subset of given string . Eg :input: abc output:{},{a},{b},{c},{a,b},{a,c},{b,c}, {a,b,c}.I desperately need this program please mail me to saravana6m@gmail.com
how to swap 3 nos without using temporary variable
main() { char string[]="Hello World"; display(string); } void display(char *string) { printf("%s",string); }
abcdedcba abc cba ab ba a a
void main() { int i; char a[]="\0"; if(printf("%s\n",a)) printf("Ok here \n"); else printf("Forget it\n"); }
How to use power function under linux environment.eg : for(i=1;i<=n;i++){ pow(-1,i-1)} since it alerts undefined reference to 'pow'.
Extend the sutherland-hodgman clipping algorithm to clip three-dimensional planes against a regular paralleiepiped
what is oop?
main() { int i=5; printf("%d%d%d%d%d%d",i++,i--,++i,--i,i); }
main() { show(); } void show() { printf("I'm the greatest"); }
4. Main() { Int i=3,j=2,c=0,m; m=i&&j||c&I; printf(“%d%d%d%d”,I,j,c,m); }
#ifdef something int some=0; #endif main() { int thing = 0; printf("%d %d\n", some ,thing); }