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   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
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
What is macro?
 Question Submitted By :: Kapil
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is macro?
Answer
# 1
macro is #define number
 
Is This Answer Correct ?    0 Yes 0 No
Raj
 
  Re: What is macro?
Answer
# 2
A macro is used to define a short functional code where it 
can be inserted in a number of places(where the functional 
code is compiled more than once)
 
Is This Answer Correct ?    0 Yes 0 No
Nagendranath.s
 
 
 
  Re: What is macro?
Answer
# 3
macro is a subroutine.
Need of Macro: Some times there is a need to call the set 
of codedata again and agian in the program.In that 
particular situation we can use macros.
Use of Macro can increase the efficiency of the program and 
also decrease the length of the code.
Macro can be defined by using Define statement
 
Is This Answer Correct ?    1 Yes 0 No
Jayasrinivas.donavalli
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
2. Counting in Lojban, an artificial language developed over the last fourty years, is easier than in most languages The numbers from zero to nine are: 0 no 1 pa 2 re 3 ci 4 vo 5 mk 6 xa 7 ze 8 bi 9 so Larger numbers are created by gluing the digit togather. For Examle 123 is pareci Write a program that reads in a lojban string(representing a no less than or equal to 1,000,000) and output it in numbers. Nagarro1
what is y value of the code if input x=10 y=5; if (x==10) else if(x==9) elae y=8; a.9 b.8 c.6 d.7 TCS1
what are the various memory handling mechanisms in C ? HP2
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice) Subex1
What is the output of the following program #include<stdio.h> main() { int i=0; fork(); printf("%d",i++); fork(); printf("%d",i++); fork(); wait(); } ADITI2
how does the for loop work actually..suppose for the following program how it ll work plz explain to me for(i=5;i>=0;i--) prinf(i--); RMSI13
Which of the following about the C comments is incorrect ? a.commentscan go over multiple lines b.comments can start any where in the line c.a line can contain comments with out any language statements d.comments can occur within comments TCS5
C program to find frequency of each character in a text file?  1
macros and function are related in what aspect? a)recursion b)varying no of arguments c)hypochecking d)type declaration HCL7
a memory of 20 bytes is allocated to a string declared as char *s then the following two statements are executed: s="Etrance" l=strlen(s); what is the value of l ? a.20 b.8 c.9 d.21 TCS2
Find string palindrome 10marks Honeywell3
Implement a function that returns the 5th element from the end in a singly linked list of integers in one pass. Microsoft2
Explain what?s happening in the first constructor: public class c{ public c(string a) : this() {;}; public c() {;} } How is this construct useful?  1
If "AaBbCc" is passed to the char char x(*a) { a[0]?x(a+1):1; printf("%c",a[0]); return 1; } what will be the output? Hughes5
what is the code for getting the output as * ** *** Caritor4
what are the compilation steps? ( i want inside the compiler )  1
Write a program or provide a pseudo code to flip the 2nd bit of the 32 bit number ! (Phone Screen) NetApp1
what is the diference between pointer to the function and function to the pointer?  1
printf("%d",(printf("Hello")); What it returns? TCS18
Struct(s) { int a; long b; } Union (u) {int a; long b; } Print sizeof(s)and sizeof(u) if sizeof(int)=4 and sizeof(long)=4 Mascot2
 
For more C Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

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