simple program of graphics and thier outpu display with
a want what is out put of graohics in c language
Answer / manoj kumar
/* Simple program to illustrate use of a dialog box */
main()
{
/* Define default values: */
int n = 0;
float x = 0.0;
/* Define contents of dialog window */
create_int_dialog_entry("n", &n);
create_float_dialog_entry("x", &x);
/* Create window with name "Setup" and top-left corner
at (0,0) */
set_up_dialog("Setup", 0, 0);
/* Display the window and read the results */
read_dialog_window();
/* Print out the new values */
printf("n = %d, x = %f\n", n, x);
}
| Is This Answer Correct ? | 0 Yes | 0 No |
WHAT IS HEADER?
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..
How do you initialize pointer variables?
write c program without semicolon
11 Answers MindTech, TCS, Wipro,
value = 0xabcd; for (loop = 1; (value >> 1) & 1 | loop & 1; loop++) { foo(); if (loop & 1) value >>= 1; } how many times is foo() executed?
What are data breakpoints?
out put of printf(ā%dā,printf(ram));
If null and 0 are equivalent as null pointer constants, which should I use?
Can we change the value of #define in c?
What language is lisp written in?
Just came across this question, felt worth sharing, so here it is I want you to make a C/C++ program that for any positive integer n will print all the positive integers from 1 up to it and then back again! Let's say n=5 I want the program to print: 1 2 3 4 5 4 3 2 1. Too easy you say? Okay then... You can ONLY USE: 1 for loop 1 printf/cout statement 2 integers( i and n) and as many operations you want. NO if statements, NO ternary operators, NO tables, NO pointers, NO functions!