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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
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 character terminates all strings composed of character 
arrays?


	

1) 0 	 


2) . 	 


3) END 	 

 Question Submitted By :: Viju
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What character terminates all strings composed of character arrays? 1) 0 2) . 3) END
Answer
# 1
1)0
 
Is This Answer Correct ?    0 Yes 0 No
K.kavitha
 
  Re: What character terminates all strings composed of character arrays? 1) 0 2) . 3) END
Answer
# 2
May be the options are not correct. Do u feel that 0 is
ascii zero or numeric zero. If numeric zero, then the answer
is wrong. Every string will be terminated with the special
character '/0'.
 
Is This Answer Correct ?    1 Yes 0 No
A Programmer
 
 
 
  Re: What character terminates all strings composed of character arrays? 1) 0 2) . 3) END
Answer
# 3
The answer is '\0' not /0
 
Is This Answer Correct ?    2 Yes 0 No
Jegadeesh
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
what is the difference between declaration ,defenetion and initialization of a variable? LG-Soft5
Give a fast way to multiply a number by 7 Microsoft8
How many ways are there to swap two numbers without using temporary variable? Give the each logic.  6
what are the uses of structure? HCL5
what does " calloc" do? Cadence6
write the program for prime numbers? TCS10
void main() { int s[4][2]={ {1234,56},{1212,33},{1434,80},{1312,78} }; int (*p)[2]; int i,j,*pint; for(i=0;i<=3;i++) { p=&s[i]; pint=p; printf("\n"); for(j=0;j<=1;j++) printf("%d",*(pint+j)); } } while running this program it shows a warning-suspicious pointer conversion ie pint=p; my que is why should we assign the value of p to pint again.why cant we use it directly as *(p+j)..but if i use like tat the o/p is garbage value..  1
what is self refrential structure HCL2
#include<stdio.h> main() { char s1[]="Ramco"; char s2[]="Systems"; s1=s2; printf("%s",s1); } Find the output CitiGroup4
write a programe returns the number of times the character appears in the string  1
Determine if a number is a power of 2 at O(1).  1
what is difference between array and structure? TCS19
pgm to reverse string using arrays i.e god is love becomes love is god) (assumption:only space is used for seperation of words) no addtional memory used.i.e no temporary arrays can used. Persistent4
Convert the following expression to postfix and prefix X $ Y Z - M + N + P / Q / (R + S)  2
write a program to print the all 4digits numbers & whose squares must me even numbers? Virtusa2
Write a program for the following series? 1 121 12321 1234321 123454321 12345654321 1234567654321 123456787654321 12345678987654321 1234567890987654321 123456789010987654321 12345678901210987654321 1234567890123210987654321 .........1234321............ ..........123454321............ ..........12345654321............ 7 8 9 0 1 Pls............?  2
How can I access memory located at a certain address?  2
What is meaning of "Void main" in C Language. TCS8
how to find turn around time in operating system?  1
how to find the kth smallest element in the given list of array elemnts. Silicon5
 
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