GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  TCS  >  C
Go To First  |  Previous Question  |  Next Question 
 C  |  Question 47 of 87    Print  
 '9'

A. int
B. char
C. string
D. float


  
Total Answers and Comments: 1 Last Update: March 20, 2006   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
March 20, 2006 02:08:50   #1  
Sivakumar        

RE:  '9'A. intB. charC. string
'9' is a charecter constant
 
Is this answer useful? Yes | No

 Related Questions

What is true about the followingC Functionsa.Need not return any valueb.Should always return an integerc.Should always return a floatd.Should always return more than one value.

A memory of 20 bytes is allocated to a string declared as char *sthen the following two statements are executed:s="Etrance"l=strlen(s);what is the value of l ?a.20b.8c.9d.21

Consider the following structure:struct num nam{int no;char name[25];};struct num nam n1[]={{12,"Fred"},{15,"Martin"},{8,"Peter"},{11,Nicholas"}};..........printf("%d%d",n1[2],no,(*(n1 + 2),no) + 1);What does the above statement print?a.8,9b.9,9c.8,8d.8,unpredictable value

Which of the following statements is incorrecta.typedef struct new{int n1;char n2;} DATA;b.typedef struct {int n3;char *n4; }ICE;c.typedef union {int n5;float n6;} UDT;d.#typedef union {int n7;float n8;} TUDAT;

What is true about the following C FunctionsA. Need not return any valueB. Should always return an integerC. Should always return a floatD. Should always return more than one value

Write one statement equivalent to the following two statements:   x=sqrA.;  return(x);Choose from one of the alternativesA. return(sqrA)B. printf("sqrA.")C. return(a*a*a)D. printf("%d",sqrA.)

Read the function conv() given belowconv(int t){int u;u=5/9 * (t-32);return(u);                            }What is returnedA. 15B.  0C. 16.1D. 29

Which of the following is not an infinite loop?A. while(1){ ....}B. for(;;){...}C. x=0;       do{ /*x unaltered within the loop*/       .....}while(x = = 0);D. # define TRUE 0     ...     while(TRUE){ ....}

Latest Answer : '9' is a charecter constant ...

Latest Answer : string.anything within inverted commas is a string. ...


 Sponsored Links

 
Related Articles

C++ String Representation and Handling

C String Representation and Handling In this C tutorial you will learn about string representation and handling how is string represented end string notation initializing char array character representation string literals example programe to understand the character array concept and the accessing
 

JavaScript String Object

JavaScript String Object In this JavaScript tutorial you will learn about String Object purpose of string object in JavaScript purpose of string object indexof method lastIndexOf method and substring method along with syntax and example mosgoogle center Purpose of String Object in JavaScript The mai
 

Convert a String into an Integer

How to convert a string into an integer in C program? This is done by using the function named as atoi(). This function atoi() is present in the header file named as <stdlib.h>. When programmers use this function they must include the header file by the statement #include <stdl
 

String handling functions

What is the string handling functions present in header file <string.h>? There are number of string handling functions present in string.h. In other words if a programmer uses any of the function present in string.h then they must include the header file as #include <string.h&am
 

Convert a String into Long Value

What string function is used to convert a string into long value? This is done by using the function named as atol() . This function atol() is present in the header file named as <stdlib.h>. When programmers use this function they must include the header file by the statement
 

Base Address of the String

What happens when we try to change the value of base address of the string? The base address of the sting takes a special place in the context of strings. This is because suing this base address only the string gets identified. In other words the base address therefore takes the position of constant
 

C Programming - Handling of character string

C Programming Handling of character string In this tutorial you will learn about Initializing Strings Reading Strings from the terminal Writing strings to screen Arithmetic operations on characters String operations string h Strlen function strcat function strcmp function strcmpi function strcpy fun
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape