Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #37.0K
3 Posted Topics
[CODE=c]#include <stdio.h> #define max( a, b) a > b ? a:b int main() { int i, j = 10; int k = 15; for( i = 0; i < max( j, k ); i++ ) { printf( "\nhi" ); } return 0; } [/CODE] The above code generates an infinite … | |
What is the error in this simple code: [CODE]#include <stdio.h> int main() { char a[100]; int c; int i = 0; int x = 0; while( ( c = getchar() ) != '\n' ) { a[x++] =c; } a[x] = '\0'; while( ( a[i] != '\0' ) || ( a[i] … | |
Hi all Please suggest an algorithm to find square root of a big number ( 100+ digits ) in C/C++.. Thank you |
The End.