>then why there is no error message like
>"too many parameters are not allowed"
While a compiler could warn you at build time about a different number of actual arguments than the format string suggests, it's more complicated than you might think.
>do you mean that 1 act as parameter having format specifier and 2 and 3
>are acting as string values that will replace the %s in 1st parameter?
Correct. Only the first parameter to scanf acts as a format string.
according to the problem scanf is replaced by the statement "%s is char" before compilation. so finaly statement looks like printf("%s is char","%s is char"); so the Format specifier %s in the first statement takes the second string as a constant string so print that string as it is...so finaly program will print %s is char is char.
hi narue i am unable to understand
"While a compiler could warn you at build time about a different number of actual arguments than the format string suggests, it's more complicated than you might think."
>hi narue i am unable to understand
What's to understand? It's possible to get an error message, but unlikely. Don't expect your compiler to warn you about doing obviously stupid things, you need to use a modicum of gray matter to program in C.
I Developed application in C# with crystal reports and created setup file in third party (Advance) Installer.When i installed my application on client system application is working but ...