Question & Additional Information
 
Would I use print "$a dollars" or "{$a} dollars" to print out the amount of dollars in this example?
Add to My IQ
 

 | 
Inappropriate
Answer Title
Answer
PHP Interpreter treats numbers beginning with 0 as octal. Look at the similar PHP interview questions for more numeric problems.
Question Tag Title
Tags
Question Asked At Title
Asked At
None
Question Job Title
Job Titles


Check out our newest job listings!

Post a Job! $49 for 60 days



Your Name:
Add your comment text
 
Related Questions
Related Questions
Flag this interview question as inappropriate Inappropriate
See Answer
main()
{
 int n,row=1,col=40,i=0,j,k=0,count=1;
 int a[10];
 clrscr();
 i=n-1;
 printf("            WELCOME TO THE PROGRAM SIR/MADAM

<BR>);
 printf("Pyramid of how many numbers?  ");
 scanf("%d",&n);
 for (j=0;j<n;j++)
 {
  printf("Enter no.:-  ");
  scanf("%d",&a[j]);
 }
 clrscr();
 for (row=n;row>=1;row--)
 {
  k=0;
  k=40-(4*(row-1));
  i=row-1;
  for (col=40;col>=k;col=(col-4))
  {
   gotoxy(col,row);
   printf("%d",a[i]);
   --i;
  }
 }

 for (count=n;count>=1;count--)
 {
  k=0;
  k=40+(4*(count-1));
  i=count-1;
  for (col=40;col<=k;col=(col+4))
  {
   gotoxy(col,count);
   printf("%d",a[i]);
   --i;
  }
 }
 getch();
}

Create Date
:
Thursday, October 16, 2008
Tags
:
Asked At
:
None
Job Positions
:
None
Click here to improve the Interview Question, Answer and other fields.
Comments (0) :
Goto add your comment on the Question 
Flag this interview question as inappropriate Inappropriate
See Answer

Silly window syndrome is a problem in computer networking caused by poorly-implemented TCP flow control. If a server with this problem is unable to process all incoming data, it requests that its clients reduce the amount of data they send at a time (the "window" setting on a TCP packet). If the server continues to be unable to process all incoming data, the window becomes smaller and smaller, sometimes to the point that the data transmitted is smaller than the packet header, making data transmission extremely inefficient. The name of this problem is due to the window size shrinking to a "silly" value.

Since there is a certain amount of overheadassociated with processing each packet, the increased number of packets means increased overhead to process a decreasing amount of data. The end result is thrashing.

Create Date
:
Monday, April 28, 2008
Tags
:
Asked At
:
None
Job Positions
:
Click here to improve the Interview Question, Answer and other fields.
Comments (0) :
Goto add your comment on the Question 
Flag this interview question as inappropriate Inappropriate
See Answer
System is a predefined final class, out is a PrintStream object and println is a built-in overloaded method in the out object.
Create Date
:
Sunday, September 02, 2007
Asked At
:
None
Job Positions
:
None
Click here to improve the Interview Question, Answer and other fields.
Comments (1) :
1.
pavan
Thursday, May 29, 2008 10:22 PM
System is a predefined final class in java
out is a PrintStream object
15 kmph
Create Date
:
Wednesday, May 14, 2008
Tags
:
Asked At
:
None
Job Positions
:
Click here to improve the Interview Question, Answer and other fields.
Comments (1) :
1.
rms
Friday, May 23, 2008 11:36 AM
so does that mean ticket ?
2 gallons
Create Date
:
Wednesday, May 14, 2008
Tags
:
Asked At
:
None
Job Positions
:
Click here to improve the Interview Question, Answer and other fields.
Comments (0) :
Goto add your comment on the Question 
 
• More Related Questions: