write a program that will print %d in the output screen??
Answer Posted / mizanur
int main()
{
printf("%%d");
return 0;
}
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
How can I get random integers in a certain range?
Is main is user defined function?
What is the use of static variable in c?
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
what is the difference between 123 and 0123 in c?
How can I discover how many arguments a function was actually called with?
Which header file should you include if you are to develop a function which can accept variable number of arguments?
What are the 4 types of programming language?
What are header files in c?
What are logical errors and how does it differ from syntax errors?
What is meant by realloc()?
application attempts to perform an operation?
What is derived datatype in c?
Do array subscripts always start with zero?
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }