C
Programming and Technical
Programming
Program
What happens when one types print("Hello"); instead of printf("hello");...
a.compilation error
b.Runtime error
c.Executes succesfully
d.None
Read Solution (Total 24)
-
- run-time error. this program generate error at time of linking when it searches for print() function and there is no function exist either pre-define or user define
- 10 years agoHelpfull: Yes(6) No(1)
- compolation error
- 10 years agoHelpfull: Yes(4) No(0)
- compilation error because C does not contain print function
- 10 years agoHelpfull: Yes(3) No(0)
- a.Compilation error //function print should have a prototype
- 10 years agoHelpfull: Yes(1) No(0)
- a. compilation error because there is no predefined function named print.
- 10 years agoHelpfull: Yes(1) No(0)
- pint and printf methods are diffetent from each other...
- 10 years agoHelpfull: Yes(1) No(0)
- a.compilation error
- 10 years agoHelpfull: Yes(0) No(0)
- compilation error
- 10 years agoHelpfull: Yes(0) No(0)
- compolation error undefined reference to 'print'
- 10 years agoHelpfull: Yes(0) No(0)
- a.compilation error
- 10 years agoHelpfull: Yes(0) No(0)
- "f" in printf is for format(%d or %c etc) recognition and print is for displaying a string so answer c
- 10 years agoHelpfull: Yes(0) No(2)
- its a compilation error...
- 10 years agoHelpfull: Yes(0) No(0)
- compilation error
- 10 years agoHelpfull: Yes(0) No(0)
- compilation error cz both are different print and printf
- 10 years agoHelpfull: Yes(0) No(0)
- Run time error
- 10 years agoHelpfull: Yes(0) No(0)
- run-time eror occurs
- 10 years agoHelpfull: Yes(0) No(0)
- compilation error.
- 10 years agoHelpfull: Yes(0) No(0)
- compilation error
- 10 years agoHelpfull: Yes(0) No(0)
- compilation error
- 10 years agoHelpfull: Yes(0) No(0)
- compilation error because it shows error at the time of compiling
- 10 years agoHelpfull: Yes(0) No(0)
- runtime error
- 10 years agoHelpfull: Yes(0) No(0)
- a. compiler error
- 10 years agoHelpfull: Yes(0) No(0)
- runtime error
- 10 years agoHelpfull: Yes(0) No(0)
- compilation error
because we include stdio.h header.so for printing predefined is printf
- 10 years agoHelpfull: Yes(0) No(0)
C Other Question
find out the element from an array of numbers which repeats most number of time.
i.e if the array is {1,2,2,2,3} ans is {2}
if the array is {1,2,2,2,3,3,3} ans is {2,3}
Given a string. Write a program to form a string with first character of all words