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                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Code Snippets  >>  Scripts_Markup Code  >>  JavaScript Code
 
 


 

 
 PHP Code interview questions  PHP Code Interview Questions
 JSP Code interview questions  JSP Code Interview Questions
 ASP Code interview questions  ASP Code Interview Questions
 CGI Perl Code interview questions  CGI Perl Code Interview Questions
 JavaScript Code interview questions  JavaScript Code Interview Questions
 VB Script Code interview questions  VB Script Code Interview Questions
 Shell Script Code interview questions  Shell Script Code Interview Questions
 Python Code interview questions  Python Code Interview Questions
 WinRunner Code interview questions  WinRunner Code Interview Questions
 HTML DHTML XHTML Code interview questions  HTML DHTML XHTML Code Interview Questions
 XML interview questions  XML Interview Questions
 Scripts_Markup Code AllOther interview questions  Scripts_Markup Code AllOther Interview Questions
Question
program that will accept any name and will be stored in an 
array
 Question Submitted By :: Sharky
I also faced this Question!!     Rank Answer Posted By  
 
  Re: program that will accept any name and will be stored in an array
Answer
# 1
this code is in c#
//i will store a name of 4 letters

string []name= string[5];
Console.WriteLine("Enter your name plz only 4 words");
for(int i=0;i<4;i++)
{
 name[i]=Console.ReadLine();
}
 
Is This Answer Correct ?    3 Yes 1 No
Manish Kumar
 
  Re: program that will accept any name and will be stored in an array
Answer
# 2
char a[10];
cout<<" enter any name please";
for(int i=0;i<9;i++)
{
cin>>a[i];
}
 
Is This Answer Correct ?    1 Yes 2 No
Gunda Raj
 
 
 

 
 
 
Other JavaScript Code Interview Questions
 
  Question Asked @ Answers
 
code to calculate the number of days between two dates  2
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space: TCS2
could you please tell me for what javac, javax,swing,awt.*; are using. what is the meaning and differences. and also there are 4 access modifiers in java. public, private, protected, default. what is the meaning of these 4 access modifiers and difference. public is the access modifier void means return data type disp() means function name what mean by static  1
Code for Adding Message and Confirmation Boxes Using JavaScript?  1
program that will accept any name and will be stored in an array  2
How to test whether two strings are equal or not ?  1
How to Add Message and Confirmation Boxes Using JavaScript?  1
validation code / function to allow only Letters in a text box  1
code to display a Countdown Timer (dynamic)  1
determine which key was pressed and its type  1
how to delay a function call ?  1
Reading which Character Key was pressed  1
write a function to validate a given date  1
validation code / function to allow only NUmbers in a text box GE3
 
For more JavaScript Code 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