Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
Write the output:num=1def myfunc(): num=10 return numprint(num,end=’ ‘)
Home
Education
Write the output:num=1def myfunc(): num=10 ...
asked
Dec 21, 2021
in
Education
by
JackTerrance
Write the output: num=1 def myfunc(): num=10 return num print(num,end=’ ‘) print(myfunc()) Select the correct answer from above options
computer-science-interview-questions
computer-science-questions
1
Answer
0
votes
answered
Dec 21, 2021
by
JackTerrance
Best answer
Answer: num=1 def myfunc(): num=10 return num print(num,end=’ ‘) print(myfunc()) Explanation: plz like and mark me as brainiest
Related questions
0
votes
Q: What will be the output of the program? #include #include void fun(char *msg, …); int main() { fun(“indiabix”, 1, 4, 7, 11, 0); return 0; } void fun(char *msg, …) { va_list ptr; int num; va_start(ptr, msg); num = va_arg(ptr, int); num = va_arg(ptr, int); printf(“%d”, num); } indiabix 1 7 11 0 1 4 7?
What will be the output of the program? #include #include void fun(char *msg, ); int main() { fun( indiabix , 1, 4, ... 7 11 0 1 4 7? Select the correct answer from above options...
asked
Nov 30, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: 6. A business man wishes to accumulate 3000 shares of a company. However, healready has some shares of that company valuing * 10 (nominal value) whichyield 10% dividend per annum and receive 2000 as dividend at the end ofthe year. Write a program in Java to calculate the number of shares he has andhow many more shares to be purchased to make his target.
6. A business man wishes to accumulate 3000 shares of a company. However, he already has some shares of that ... 100/Nominal value*div% Select the correct answer from above options...
asked
Nov 27, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: write the statement to convert a number stored in a string variable ‘num’ to a double data type.
write the statement to convert a number stored in a string variable ‘num’ to a double data type. Select the correct answer from above options...
asked
Dec 23, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: int find(int i) {if(>1)j=find(j/10)+(j%10)elsej=0;return j;void main()int i=1000int kk=find(i):
int find(int i) { if(>1) j=find(j/10)+(j%10) else j=0; return j; void main() int i=1000 int k k=find(i): printf(“%d”, K) Select the correct answer from above options...
asked
Dec 29, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: int find(int j) {if(>1Xj=find(j/ 10)+(%10);}else {j=0;return j;void main()int i=1000,int k;k=find(i);
int find(int j) { if(>1X j=find(j/ 10)+(%10); } else { j=0; return j; void main() int i=1000, int k; k=find(i); printf(“%d”, k); Select the correct answer from above options...
asked
Dec 29, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: int n=10;int res=(n–+10>–n×5)?++n:n++ System.Out.println(res+”,”+n); what is the output
int n=10;int res=(n–+10>–n×5)?++n:n++ System.Out.println(res+”,”+n); what is the output Select the correct answer from above options...
asked
Dec 30, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: .1. Find the output of the following programs.(a) 10 LET AS = “HELLO”20 LET BS = “FRIENDS”30 PRINT AS:BS
. 1. Find the output of the following programs. (a) 10 LET AS = “HELLO” 20 LET BS = “FRIENDS” 30 PRINT AS:BS 40 END Select the correct answer from above options...
asked
Nov 29, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: write the output statement in java ??
write the output statement in java ?? answer also in very long and also not in very short Select the correct answer from above options...
asked
Dec 27, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: write the output statement in java ??
write the output statement in java ?? answer also in very long and also not in very short Select the correct answer from above options...
asked
Dec 26, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Write the python statement and the output for the following:
Write the python statement and the output for the following: (a)Find the third occurrence of e' in sequence'. ... 'Yugaan' or not. Select the correct answer from above options...
asked
Dec 25, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Write the output of the following code:str2=list(“***@123*”)for l in range(len(str2)-1):if l==5:
Write the output of the following code: str2=list( ***@123* ) for l in range(len(str2)-1): if l==5: str2[i ... str2[i]='D' print(str2) Select the correct answer from above options...
asked
Dec 23, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Write the output:def multiply(a,b):r=a*bprint(a,”*”,b,”=”,r)
Write the output: def multiply(a,b): r=a*b print(a,”*”,b,”=”,r) multiply(5,5) Select the correct answer from above options...
asked
Dec 21, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Write the output for the followingi) char c = ‘A’ ;int m = 26 ;int n = c + m ;
Write the output for the following i) char c = ‘A’ ; int m = 26 ; int n = c + m ; System.out.println(“ n = “ +n) ; Select the correct answer from above options...
asked
Dec 19, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Write the output for the followingi) char c = ‘A’ ;int m = 26 ;int n = c + m ;
Write the output for the following i) char c = ‘A’ ; int m = 26 ; int n = c + m ; System.out.println(“ n = “ +n) ; Select the correct answer from above options...
asked
Dec 18, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: do you think the following two expression are the same if yes write the output if not justify your answer X=int(22/7) X=(22.0/7)
do you think the following two expression are the same if yes write the output if not justify your answer X=int(22/7) X=(22.0/7) Select the correct answer from above options...
asked
Dec 13, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
...