Write a program that takes a 5 digit number and calculates 2
power that number and prints it.
Answer / srikanth u
data num;
digit=today();
power=digit*digit;
run;
proc print data=num;
run;
I hope it will be the answer, if its wrong, please let me know the correct way.
Thank you.
| Is This Answer Correct ? | 1 Yes | 1 No |
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
how to set Nth bit of variable by using MACRO
Why c is procedure oriented?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
What is the use of a semicolon (;) at the end of every program statement?
for(;;) printf("C language") What is out put of above??
2 Answers Practical Viva Questions,
what is the difference between. system call and library function?
What is an example of structure?
What is hash table in c?
for example user gives input as " 20 or 20.0 or rs 20.0 or 20.00 or rs20 and so .. on " and the output should be stored as " rs.20.00 " in a variable
how to print this sereis 2 4 3 6 5..........?
9.how do you write a function that takes a variable number of arguments? What is the prototype of printf () function? 10.How do you access command-line arguments? 11.what does ‘#include<stdio.h>’ mean? 12.what is the difference between #include<> and #include”…”? 13.what are # pragma staments? 14.what is the most appropriate way to write a multi-statement macro?