in Education by
Write error message given by C compiler during compilation if we use %d to print float variable Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Answer: it doesn’t show error instead it typecasts the float to int. might it shows a warning

Related questions

0 votes
    Write the following in while(): For (i=1;i =100;i++){Print( %d \ ,i);} (Will no one be able to solve ... as i am doing an exam now) Select the correct answer from above options...
asked Dec 17, 2021 in Education by JackTerrance
0 votes
    Q.32 :-What will the SWAP macro in the following program be expanded to on preprocessing? will the code compile? ... y); return 0; Select the correct answer from above options...
asked Nov 30, 2021 in Education by JackTerrance
0 votes
    Simran write a code print: (“hello friends”)but when she executed there comes an error what was the error and why did it occur Select the correct answer from above options...
asked Dec 23, 2021 in Education by JackTerrance
0 votes
    a. What is abstraction? How it is different from inheritance? b.Differentiate between compiler and interpreter. c. ... final keyword. Select the correct answer from above options...
asked Dec 5, 2021 in Education by JackTerrance
0 votes
    a. What is abstraction? How it is different from inheritance? b.Differentiate between compiler and interpreter. c. ... final keyword. Select the correct answer from above options...
asked Nov 26, 2021 in Education by JackTerrance
0 votes
    int fun(int n) { if(n!=0) { return n – fun(n-5); } else { return n; } } int main(){ int n = 20, z; z = fun(n); printf(“%d”, z); } Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    Write C program that use both recursive and non recursive functions to perform Linear search for a Key value in a given list. Select the correct answer from above options...
asked Dec 17, 2021 in Education by JackTerrance
0 votes
    what are the common error message that occure while entering Excel function Select the correct answer from above options...
asked Nov 28, 2021 in Education by JackTerrance
0 votes
    write a program in c++ to interchange 2 values without the 3rd variable. Select the correct answer from above options...
asked Nov 26, 2021 in Education by JackTerrance
0 votes
    1. Take length and breadth of the rectangle from user and calculate the area of rectangle and print the area in ... box. Your answer Select the correct answer from above options...
asked Dec 1, 2021 in Education by JackTerrance
0 votes
    If we do not want to show a particular slide during slideshow we can use * Select the correct answer from above options...
asked Dec 22, 2021 in Education by JackTerrance
0 votes
    Write a C program to print the following pattern: 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 Select the correct answer from above options...
asked Dec 7, 2021 in Education by JackTerrance
0 votes
    Write a C program to print the following pattern: 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 Select the correct answer from above options...
asked Dec 5, 2021 in Education by JackTerrance
...