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   SiteMap shows list of All Categories in this site.
Google
 
Categories >> ERRORS
 
  C-C++-Errors (19)  DotNet-Errors (7)  Scripts-Errors (50)
 


 

Back to Questions Page
 
Question
4___4___4___4 = 20 Use +, -, /, * how to Solve It.
Rank Answer Posted By  
 Question Submitted By :: Susan
I also faced this Question!!   © ALL Interview .com
Answer
Its a trick question. 
BEDMAS is needed to obtain the answer
 
1
Maths Nerd
 
 
Answer
4(4/4)+4
 
0
B.kaarthick
 
 
Answer
here is the answer for this question...4/4+4*4=20
proof:
4/4=1
1+4=5
5*4=20
hence it is proved.this is the apt solution for this question
 
0
Shyam
 
 
 
Answer
((4/4)+4)*4
 
0
Rashmi
 
 
Question
Assume that the  int variables  i and  j have been 
declared, and that  n has been declared and initialized. 

 Write code that causes a "triangle" of asterisks of size  
n to be output to the screen. Specifically,  n lines should 
be printed out, the first consisting of a single asterisk, 
the second consisting of two asterisks, the third 
consistings of three, etc. The last line should consist of  
n asterisks. Thus, for example, if  n has value 3, the 
output of your code should be
 *
 **
 ***
 You should not output any space characters.

Hint: Use a for loop nested inside another for loop.
Rank Answer Posted By  
 Question Submitted By :: Bailey Smith
This Interview Question Asked @   HCL
I also faced this Question!!   © ALL Interview .com
Answer
#include<stdio.h>
main()
{
 int i,j,n;
 printf("Enter the size of Triangle:");
 scanf("%d", &n);

 for(i=0;i<n;i++)
 {
  for(j=0;j<=i;j++)
  {
   printf("*");
  }
 printf("\n");
 }
}
 
0
Sreepal
 
 
Question
what will be the program output if it tries to access 11th 
item in an array of 10 and it is coded with NOSSRANGE
Rank Answer Posted By  
 Question Submitted By :: Smitha
This Interview Question Asked @   Cognizent
I also faced this Question!!   © ALL Interview .com
Answer
in c and c++ there will be a compilation error.if when we declared an array size of 10 and tries to access 11th item.
 
0
Mohi
 
 
Question
I have table name'temp' in that I wanted to add some 
partial data for a particular column name 'policyno' where 
data is existing in that column. Ex.Policyno like 'R-KT-SK-
EA-134526' like 100 records.  In that 100 records some 
policynos are just like 134527 I mean with out prefix 
like'R-KT-SK-EA-' now I wanted add this prefix as 'R-KT-SK-
EA-134527' for some 50 records.  How can I add partial data?
Rank Answer Posted By  
 Question Submitted By :: Indu
This Interview Question Asked @   Syncfusion
I also faced this Question!!   © ALL Interview .com
Answer
I this you are referring to excel.
You may use "concatanate" function for 
Combining two coloumns in to a new coloumn
Pl try and tell.
 
0
Sreeindia111
 
 
Question
Nowadays there is a discussion that tajmahal was not built 
by shah-jahan..... Is it true...........?
Rank Answer Posted By  
 Question Submitted By :: Naru
I also faced this Question!!   © ALL Interview .com
Answer
Shah and jahan are two diff persons having common wife & 
for her they wasted 128 bugs to built tajmahal,updated news 
is it is for sale now hurry if u make ur registration now u 
will get 100% discount & gift of rs 128 absolutely free! 
free!!
 
0
Shah-jahan
 
 
Answer
BY BBC source its not a tomb it is a ancient temple of lord 
shiva and have name that i can't remember it.it bulit by 
some indian king and laterly modify by mughal emperor.there 
is some kind design in there just see the top of all 
pillers there is old temple creatures..hidden OM in floral 
design.

i get a mail from some of my friends.there is picture and 
much more about it.i can't post here these picutres...
but when i first read it i just shocked...
 
0
Vikram
 
 
Answer
No one has ever challenged it except Prof. P. N. Oak, who 
believes the 
whole world has been duped. In his book Taj Mahal: The True 
Story, Oak says the Taj Mahal is not Queen Mumtaz's tomb 
but an ancient Hindu temple palace of Lord Shiva (then 
known as Tejo Mahalaya ) ... In the course of his research 
Oak discovered that the Shiva temple palace was usurped by 
Shah Jahan from then Maharaja of Jaipur, Jai Singh. In his 
own court chronicle, Badshahnama, Shah Jahan admits that an 
exceptionally beautiful grand mansion in Agra was taken 
from Jai SIngh for Mumtaz's burial . The ex-Maharaja of 
Jaipur still 
retains in his secret collection two orders from Shah Jahan 
for 
surrendering the Taj building. Using c aptured temples and 
mansions, as a burial place for dead courtiers and royalty 
was a common practice among Muslim rulers. 

For example, Humayun,Akbar, Etmud-ud-Daula and Safdarjung 
are all buried in such mansions. Oak's inquiries began with 
the name of Taj Mahal. He says the term ' Mahal ' has never 
been used for a building in any Muslim countries from 
Afghanisthan to Algeria . 'The unusual explanation that the 
term Taj Mahal derives from Mumtaz Mahal was illogical in 
atleast two respects. 

Firstly, her name was never Mumtaz Mahal but Mumtaz-ul-
Zamani,' he writes. 
Secondly, one cannot omit the first three letters 'Mum' 
from a woman's name to derive the remainder as the name for 
the building.'Taj Mahal, he claims, is a corrupt version of 
Tejo Maha laya, or Lord Shiva's Palace . Oak also says the 
love story of Mumtaz and Shah Jahan is a fairy tale created 
by court sycophants, blundering historians and sloppy 
archaeologists . Not a single royal chronicle of Shah 
Jahan's time corroborates the love story. 

Furthermore, Oak cites several documents suggesting the Taj 
Mahal predates Shah Jahan's era, and was a temple dedicated 
to Shiva, worshipped by Rajputs of Agra city. For example, 
Prof . Marvin Miller of New York took a few samples from 
the riverside doorway of the Taj. Carbon dating tests 
revealed that the door was 300 years older than Shah Jahan. 
European traveler Johan Albert Mandelslo,who visited Agra 
in 1638 (only seven years after Mumtaz's death), describes 
the life of the cit y in his memoirs. But he makes no 
reference to the Taj Mahal being built. The writings of 
Peter Mundy, an English visitor to Agra within a year of 
Mumtaz's death, also suggest the Taj was a noteworthy 
building well before Shah Jahan's time. 

Prof. Oak points out a number of design and architectural 
inconsistencies that support the belief of the Taj Mahal 
being a typical Hindu temple rather than a mausoleum. Many 
rooms in the Taj ! Mahal have remained sealed since Shah 
Jahan's time and are still inaccessible to the public ... 
Oak asserts they contain a headless statue of Lord Shiva 
and other objects commonly used for worship rituals in 
Hindu temples .... Fearing political backlash, Indira 
Gandhi's government tried to have Prof. Oak's book 
withdrawn from the bookstores, and threatened the Indian 
publisher of the first edition dire consequences . There is 
only one way to discredit or validate Oak's research. 

The current government should open the sealed rooms of the 
Taj Mahal under U.N. supervision, and let international 
experts investigate.
 
0
Vikram
 
 
Answer
true
 
0
Guest
 
 
Answer
Definitely.  it was built by large group of carpenters,
labourers and others.  Shah-JAHAN is like the program
managem and he only supervised the effort.
 
0
Sundar
 
 
Answer
shah-jahan invested money & efforts for build taj mahal.
it mean he is the owner of the taj mahal.
so ovisouly it was builted by himself.
so its not true.......
 
0
Indramani
 
 
 
Back to Questions Page
 
 
 
 
 
   
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