Derive expression for converting RGB color parameters to
HSV values
Answer / uday shirke
Pls check this link you will get the info.
http://en.wikipedia.org/wiki/HSV_color_space
| Is This Answer Correct ? | 9 Yes | 1 No |
#define FALSE -1 #define TRUE 1 #define NULL 0 main() { if(NULL) puts("NULL"); else if(FALSE) puts("TRUE"); else puts("FALSE"); }
main() { int i; float *pf; pf = (float *)&i; *pf = 100.00; printf("\n %d", i); } a. Runtime error. b. 100 c. Some Integer not 100 d. None of the above
#include<stdio.h> main() { const int i=4; float j; j = ++i; printf("%d %f", i,++j); }
main() { extern int i; i=20; printf("%d",sizeof(i)); }
main() { int i = 257; int *iPtr = &i; printf("%d %d", *((char*)iPtr), *((char*)iPtr+1) ); }
#define a 10 int main() { printf("%d..",a); foo(); printf("%d..",a); return 0; } void foo() { #undef a #define a 50 }
main() { int *j; { int i=10; j=&i; } printf("%d",*j); }
main() { printf("%x",-1<<4); }
#include"math.h" void main() { printf("Hi everybody"); } if <stdio.h> will be included then this program will must compile, but as we know that when we include a header file in "" then any system defined function find its defination from all the directrives. So is this code of segment will compile? If no then why?
Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange
how to concatenate the two strings
programming in c lanugaue programm will errror error with two header file one as stdio.h and other one is conio.h