Extend the sutherland-hodgman clipping algorithm to clip
three-dimensional planes against a regular paralleiepiped
Answer / santhosh
A. Extend the sutherland-hodgman clipping algorithm to clip
three-dimensional planes against a regular paralleiepiped.
Is This Answer Correct ? | 6 Yes | 8 No |
int main() { int x=10; printf("x=%d, count of earlier print=%d", x,printf("x=%d, y=%d",x,--x)); getch(); } ================================================== returns error>> ld returned 1 exit status =================================================== Does it have something to do with printf() inside another printf().
What is wrong with the following code? int *foo() { int *s = malloc(sizeof(int)100); assert(s != NULL); return s; }
can u give me the c codings for converting a string into the hexa decimal form......
C statement to copy a string without using loop and library function..
main() { int i; printf("%d",scanf("%d",&i)); // value 10 is given as input here }
#include<stdio.h> void fun(int); int main() { int a; a=3; fun(a); printf("\n"); return 0; } void fun(int i) { if(n>0) { fun(--n); printf("%d",n); fun(--n); } } the answer is 0 1 2 0..someone explain how the code is executed..?
How we will connect multiple client ? (without using fork,thread)
Write a program to receive an integer and find its octal equivalent?
char *someFun1() { char temp[ ] = “string"; return temp; } char *someFun2() { char temp[ ] = {‘s’, ‘t’,’r’,’i’,’n’,’g’}; return temp; } int main() { puts(someFun1()); puts(someFun2()); }
WAP to display 1,2,3,4,5........N
write a c-program to find gcd using recursive functions
#include <stdio.h> int main(void) { int a=4, b=2; a=b<<a+b>>2 ; printf("%d",a); return 0; }