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
WAP to accept first name,middle name & last name of a 
student display its initials?
 Question Submitted By :: Rina
I also faced this Question!!     Rank Answer Posted By  
 
  Re: WAP to accept first name,middle name & last name of a student display its initials?
Answer
# 1
if nybody nows the answer thn tell me pls.
 
Is This Answer Correct ?    2 Yes 2 No
Rina
 
  Re: WAP to accept first name,middle name & last name of a student display its initials?
Answer
# 2
#include<stdio.h>
#include<conio.h>
void main()
{
   char fname[20],mname[20],lname[20];
   clrscr();
   print("Enter student First Name: ");
   scanf("%c",fname);
   print("Enter student Middle Name: ");
   scanf("%c",mname);
   print("Enter student Last Name: ");
   scanf("%c",lname);
   print("The Output of the Following is: \n");
   printf("%c %c %c",fname[0],mname[0],lname[0]);
   getch();
}
 
Is This Answer Correct ?    4 Yes 1 No
Chandan Kumar R
 
 
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
pgm in c to reverse string by word using array(god is love becomes love is god) (no additional array can used,space is only delimiter between words ) Persistent1
C,c++, Java is all are structural oriented or procedure oriented language..?  3
What are the languages are portable and platform independent?Why they are like that? Excel1
write a string copy function routine?  1
difference between my-strcpy and strcpy ? Geometric-Software3
how to generate the length of a string without using len funtion?  3
Which of the following about automatic variables within a function is correct ? a.its type must be declared before using the variable b.they are local c.they are not initialised to zero d.they are global. TCS3
what is the diference between pointer to the function and function to the pointer?  2
Write a function that accepts two numbers,say a and b and makes bth bit of a to 0.No other bits of a should get changed. Scientific-Atlanta2
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. Nagarro2
size maximum allocated by calloc() DELL1
write a program for odd numbers?  6
what does data structure mean?  7
Write a C++ program without using any loop (if, for, while etc) to print numbers from 1 to 100 and 100 to 1;  7
Write a program or provide a pseudo code to flip the 2nd bit of the 32 bit number ! (Phone Screen) NetApp1
How can I convert integers to binary or hexadecimal?  2
Why doesn't the code "a[i] = i++;" work?  4
I need to take a sentence from input and sort the words alphabetically using the C programming language. Note: This is C not C++. qsort and strtok not allowed  4
what is the use of keyword volatile?? LG-Soft4
how to find out the reverse number of a digit if it is input through the keyboard?  2
 
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