ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C
 
 


 

 
 C interview questions  C Interview Questions
 C++ interview questions  C++ Interview Questions
 VC++ interview questions  VC++ Interview Questions
 Delphi interview questions  Delphi Interview Questions
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions
Question
without a  terminator how can we print a message in a printf
() function.
 Question Submitted By :: Pradeep
I also faced this Question!!     Rank Answer Posted By  
 
  Re: without a terminator how can we print a message in a printf () function.
Answer
# 1
#include<stdio.h>
main()
{
   if(Printf("Here is the message without terminator"))
   {
   }
}
 
Is This Answer Correct ?    3 Yes 0 No
Vijay
 
  Re: without a terminator how can we print a message in a printf () function.
Answer
# 2
we can make without using if,for,while statments.....

main()
{
  fun(printf("\nCute Ramya !!!!!"));
}
fun(int i)
{
;;;;; i++
}
 
Is This Answer Correct ?    1 Yes 1 No
Dharmendra
 
 
 
  Re: without a terminator how can we print a message in a printf () function.
Answer
# 3
#include<stdio.h>

void main()
{
  fun(printf("\nCute Ramya !!!!!"));
}
fun(int i)
{
i++;
}
 
Is This Answer Correct ?    0 Yes 0 No
Indrani
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
To what value are pointers initialized? 1) NULL 2) Newly allocated memory 3) No action is taken by the compiler to initialize pointers.  2
Write a program or provide a pseudo code to flip the 2nd bit of the 32 bit number ! (Phone Screen) NetApp1
WAP &#8211; represent a char in binary format Motorola4
what is the advantage of function pointer TCS9
WRITE A PROGRAM TO PRINT THE FOLLOWING OUTPUTS USING FOR LOOPS. A) * B) ***** *** * * ***** * * *****  2
write a program to print sum of each row of a 2D array.  2
WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c file management?  3
print ur name without using any semicolon in c/c++....  4
int *p=20; if u print like dis printf("%d",p); o\p:- 20; how is it possible? plz give me the explanation. Global-Edge5
write a program to check whether a given integer is a strong number or not? [Hint: 145=1!+4!+5! =1+24+120 =145]  1
HOW DO YOU HANDLE EXCEPTIONS IN C? AppLabs2
Program to write some contents into a file using file operations with proper error messages.  1
what is the defrenece between structure and union  4
write the function int countchtr(char string[],int ch);which returns the number of timesthe character ch appears in the string. for example the call countchtr("she lives in Newyork",'e') would return 3.  4
how we can make 3d venturing graphics on outer interface Microsoft1
explain memory layout of a C program  1
helllo sir give me some information of the basic information the c as printf ,scanf , %d ,%f and why is the main use of these.  3
How would you find a cycle in a linked list?  2
#include <stdio.h> #define sqr(x) (x*x) int main() { int x=2; printf("value of x=%d",sqr(x+1)); } What is the value of x? Oracle9
what is the hexidecimal number of 4100? Google13
 
For more C Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com