Answer:
The type of b is bool ( B )
The type of c is int ( C )
The type of d is int ( D )
Explanation:
The options that must hold zero are: The type of b is bool,The type of d is int and The type of c is int.
If b is true then c or d is true because c and d are int. this is because b been a true/false means that d and c are boolean int. because d and c are assigned to integers
The correct answer is D. Repeated geometric shapes.
You can access a full-screen TTY session by holding down the Ctrl+Alt keys, and pressing one of the function keys. Ctrl+Alt+F3 will bring up the login prompt of tty3. If you log in and issue the tty command, you'll see you are connected to /dev/tty3.
Explanation:
- tty2 is short for teletype, but it's more popularly known as terminal.
- It's basically a device (implemented in software nowadays) that allows you to interact with the system by passing on the data (you input) to the system, and displaying the output produced by the system
- You can either : press ctrl+alt+F7 Or run the command startx if the above commands do not work.
- The tty command of terminal basically prints the file name of the terminal connected to standard input.
- In Linux, there is a pseudo-teletype multiplexor which handles the connections from all of the terminal window pseudo-teletypes (PTS). The multiplexor is the master, and the PTS are the slaves.
- The multiplexor is addressed by the kernel through the device file located at /dev/ptmx.
- The -s (silent) option causes tty to generate no output.
Answer:
1.ClassName and . operator
2. ClassName and [] operator
Explanation:
There are two ways to get the members of a class first one is by using dot(.) operator.
Example : with assumption that person is a class object and age is the member in it we can use it as:
person.age
Second way is to use [] operator with member as a string in it which is used by the compiler as key to get its value.
Example : person["age"]
Answer:
https://www.c-sharpcorner.com/interview-question/explain-autofocus-and-autocomplete-attribute
found this on a website hope you find it useful !