Posts

Showing posts from February, 2012

Test 1 / Sem 2 / Programare C++

Image
1 char * const s1 = "abc", *s2 = "ABC"; Care din următoarele atribuiri sunt corecte? 1,2 1) s1[0] = s2[0]; 2) s1[0] = 'A'; 3) s1 = s2; 2 union { int a; float b; double c; } u = {3.14}; Ce valoare are u.a? 0 3 Ce valoare are sizeof 'a' în C? 1 4 Ce valoare are sizeof 'ab' în C++? eroare sintactică 5 int& p = *new int(10); p = -10; Ce valoare are p? -10 6 int a = 10; int& ra; ra = a; Ce valoarea are ra? 10 7 int& f(int x) { return -x; } Ce valoare are f(7)? -7 8 int *p = new int(10); *p = -10; Ce valoare are p? -10 9 int& f(int& a) { return a; } ... int a = 10; Ce returnează f(a)? 10 10   union { int a; float b; double c; } u = {3.14}; Ce valoare are u.b? 0 11   ... { int y = 10; { int x = -10; } cout << x;} Ce extrage? 10 12 Ce tip are constanta 'ab' în C? eroare sintactica 13 Ce valoare are sizeof 'ab' în C? eroare sintactica

Back

Image
 

Personal Space

Image

Numbers

Image
Zero Zero is a powerful number which brings great transformational change, sometimes occurring in a profound manner. It has much intensity, so caution is needed wherever it appears to ensure that extremes are not encountered. Zero represents the Cosmic Egg, the primordial Androgyne - the Plenum. Zero as an empty circle depicts both the nothingness of death and yet the totality of life contained within the circle. As an ellipse the two sides represent ascent and descent, evolution and involution. Before the One (meaning the Source--not the number) there is only Void, or non-being; thought; the ultimate mystery, the incomprehensible Absolute. Begins with meanings such as, Non-existence; nothingness; the unmanifest; the unlimited; the eternal. The absence of all quality or quantity. Cultural References Taoism: It symbolizes the Void; non-being. Buddhism: It is the Void and no-thingness. Kabbalism: Boundless; Limitless Light; the Ain. Pathagoras saw zero as the per