main() { int i=1; while (i<=5) { printf("%d",i); if (i>2) goto here; i++; } } fun() { here: printf("PP"); }
1 4867main() { static char names[5][20]={"pascal","ada","cobol","fortran","perl"}; int i; char *t; t=names[3]; names[3]=names[4]; names[4]=t; for (i=0;i<=4;i++) printf("%s",names[i]); }
2 14922#include
#include
CNSI,
2 11188#include
TCS,
1 8010#include
1.Explain what happens to a session object when the browser associated with it is closed? 2.Explain how a session object is created and used. (Note: you are not required to provide the Java statements such as ‘getAttribute’)
Write a function to efficiently convert a floating point number to a rational number. For example, given 0.125 return "1/8"
What is XML Parser?
how to create a 3x3 two dimensional array that will give you the sums on the left and bottom columns
Write code to make an object work like a 2-d array?
How do you verify if the two sentences/phrases input is an anagram using predefined functions in string.h and by using arrays?
Which framework is best in php among Smarty, Cakephp, Joomla, Drupal, Zend or Something else...? If any then Why?
Write a python program to check if a number is a palindrome or not?
Write a program that implements a date class containing day, month and year as data members. Implement assignment operator and copy constructor in this class.
What output does this program generate as shown? Why? class A { A() { cout << "A::A()" << endl; } ~A() { cout << "A::~A()" << endl; throw "A::exception"; } }; class B { B() { cout << "B::B()" << endl; throw "B::exception"; } ~B() { cout << "B::~B()"; } }; int main(int, char**) { try { cout << "Entering try...catch block" << endl; A objectA; B objectB; cout << "Exiting try...catch block" << endl; } catch (char* ex) { cout << ex << endl; } return 0; }
how to Scroll a DIV content
What is GUID anyway?
write a program that prompt the user to enter his height and weight,then calculate the body mass index and show the algorithm used
code to sorting an array of objects
What are the features of XML?